fix host headers on internal nginx
This commit is contained in:
parent
9a294ff0d3
commit
159439f0b1
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue