mirror of
https://github.com/MatteZ02/infra.git
synced 2024-12-22 08:23:18 +00:00
Update
This commit is contained in:
parent
f8c2b6d4f2
commit
ec60593717
@ -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)$ )
|
||||
|
Loading…
Reference in New Issue
Block a user