From 159439f0b16f7d92fe40f2ed4963cae9733ab1cd Mon Sep 17 00:00:00 2001 From: Jan Koppe Date: Sun, 31 Oct 2021 13:15:32 +0100 Subject: [PATCH] fix host headers on internal nginx --- docker/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/nginx.conf b/docker/nginx.conf index f2b3680..f6a7d84 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -12,6 +12,8 @@ http { listen 80 default_server; listen [::]:80 default_server; location / { + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $remote_addr; proxy_pass http://127.0.0.1:8000; } location /static {