Pass host header to upstream

This commit is contained in:
Maksym Pavlenko
2017-11-26 00:14:49 -08:00
parent 979baad189
commit 2c26f6a911
+3
View File
@@ -35,6 +35,9 @@ server {
access_log off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
location /download {
proxy_pass http://worker;
}