From fe3883de83e0625f37c3d7fba7b5c626b43483f0 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 6 Mar 2022 22:33:23 +0400 Subject: [PATCH] Set header Host for proxy. --- configs/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/nginx.conf b/configs/nginx.conf index 5190162..39b6f73 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -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; }