mirror of
https://github.com/benbusby/whoogle-search.git
synced 2025-08-11 09:16:23 -04:00
Add X-Forwarded-Host
to nginx example [skip ci] (#1169)
This commit is contained in:
parent
5cf5ad992a
commit
79b6e9a157
@ -599,6 +599,7 @@ server {
|
|||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-NginX-Proxy true;
|
proxy_set_header X-NginX-Proxy true;
|
||||||
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
proxy_pass http://localhost:5000;
|
proxy_pass http://localhost:5000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user