Set header Host for proxy.
This commit is contained in:
parent
16df452105
commit
fe3883de83
@ -20,6 +20,7 @@ server {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://unix:/tmp/dwelling-upload.sock;
|
proxy_pass http://unix:/tmp/dwelling-upload.sock;
|
||||||
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user