diff --git a/rootfs/setup/nginx.conf b/rootfs/setup/nginx.conf index fd2bf23..1811bc4 100644 --- a/rootfs/setup/nginx.conf +++ b/rootfs/setup/nginx.conf @@ -22,7 +22,9 @@ http { location / { auth_basic "Restricted"; auth_basic_user_file /srv/app/.htpasswd; - proxy_pass http://127.0.0.1:4000; + proxy_pass http://127.0.0.1:4000/; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header Host $host; } } }