This commit is contained in:
Christer Warén 2024-05-07 15:50:34 +03:00
parent f8c2b6d4f2
commit ec60593717

View File

@ -72,6 +72,9 @@ server {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
if ($request_method !~ ^(GET|HEAD|POST|PUT|DELETE)$ )