This commit is contained in:
Administrator
2022-08-30 21:02:28 +03:00
parent 6357739d27
commit d7d9664bd1
5 changed files with 129 additions and 41 deletions

View File

@@ -1,2 +1,4 @@
FROM nginx
COPY ./nginx-dev.conf /etc/nginx/nginx.conf
COPY ./nginx-dev.conf /etc/nginx/nginx.conf
COPY ../privkey.pem /etc/nginx/privkey.pem
COPY ../fullchain.pem /etc/nginx/fullchain.pem

View File

@@ -2,20 +2,11 @@ events {}
http {
client_max_body_size 50m;
ssl_certificate /etc/nginx/fullchain.pem
ssl_certificate_pem /etc/nginx/privkey.pem
server {
listen 80;
listen [::]:80;
server_name *.develop.sprinthub.ru;
location ~ /.well-known/acme-challenge {
allow all;
root /var/www/html;
}
}
server {
listen 80;
listen 443;
server_name dev.develop.sprinthub.ru;
location / {
@@ -24,7 +15,7 @@ http {
}
server {
listen 80;
listen 443;
server_name swarmpit.develop.sprinthub.ru;
location / {
@@ -33,7 +24,7 @@ http {
}
server {
listen 80;
listen 443;
server_name rabbitmq.develop.sprinthub.ru;
location / {
@@ -42,7 +33,7 @@ http {
}
server {
listen 80;
listen 443;
server_name minio.develop.sprinthub.ru;
location / {
@@ -51,7 +42,7 @@ http {
}
server {
listen 80;
listen 443;
server_name battleship.develop.sprinthub.ru;
location / {