mirror of
https://github.com/KevinMidboe/nginx.git
synced 2025-12-08 04:18:52 +00:00
Cleanup : all sites share a common syntax
This commit is contained in:
@@ -31,9 +31,11 @@ server {
|
||||
location / {
|
||||
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 Connection 'upgrade';
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user