fix host headers on internal nginx

This commit is contained in:
Jan Koppe 2021-10-31 13:15:32 +01:00
parent 9a294ff0d3
commit 159439f0b1
Signed by: thunfisch
GPG Key ID: BE935B0735A2129B
1 changed files with 2 additions and 0 deletions

View File

@ -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 {