This commit is contained in:
Administrator 2022-10-20 10:40:29 +03:00
parent 128a0c7536
commit 90f3ac30d5

View File

@ -2,7 +2,6 @@ events {}
http {
client_max_body_size 50m;
resolver 127.0.0.11 ipv6=off;
map $http_upgrade $connection_upgrade {
default upgrade;
@ -132,6 +131,8 @@ http {
listen [::]:443 ssl http2;
server_name ~^(?<domain>\w+)\.develop\.sprinthub\.ru$;
resolver 127.0.0.11 ipv6=off;
ssl_certificate /etc/nginx/fullchain.pem;
ssl_certificate_key /etc/nginx/privkey.pem;
@ -141,9 +142,7 @@ http {
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://$domain-nginx:1238/;
}
proxy_pass http://$domain-nginx:1238$request_uri;;
}
}