1
0

Set header Host for proxy.

This commit is contained in:
Alexander Andreev 2022-03-06 22:33:23 +04:00
parent 16df452105
commit fe3883de83
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -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;
} }