This commit is contained in:
Administrator 2022-09-17 19:46:04 +03:00
parent 3fc2db450a
commit 00f4d29e91
4 changed files with 42 additions and 0 deletions

View File

@ -117,6 +117,8 @@ networks:
driver: overlay
battleship-nginx:
external: true
exchange-nginx:
external: true
sprint-nginx:
external: true
swarmpit-nginx:

View File

@ -117,6 +117,8 @@ networks:
driver: overlay
battleship-nginx:
external: true
exchange-nginx:
external: true
sprint-nginx:
external: true
swarmpit-nginx:

View File

@ -104,4 +104,23 @@ http {
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name dev.develop.sprinthub.ru;
ssl_certificate /etc/nginx/fullchain.pem;
ssl_certificate_key /etc/nginx/privkey.pem;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "no-refferer-when-downgrade" always;
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
location / {
proxy_pass http://exchange-nginx:1237/;
}
}
}

View File

@ -132,4 +132,23 @@ http {
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name dev.sprinthub.ru;
ssl_certificate /etc/nginx/fullchain.pem;
ssl_certificate_key /etc/nginx/privkey.pem;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "no-refferer-when-downgrade" always;
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
location / {
proxy_pass http://exchange-nginx:1237/;
}
}
}