Update nginx.conf

This commit is contained in:
Andros Fenollosa 2024-05-12 16:46:00 +02:00 committed by GitHub
parent 967d7fd4c4
commit dbe4c4c9c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,12 +11,15 @@ server {
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection "";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
proxy_buffering off;
proxy_cache off;
chunked_transfer_encoding off;
}
location /static {