1
0
Fork 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
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ server {
location / {
proxy_pass http://unix:/tmp/dwelling-upload.sock;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
}