Pass Host/X-Forwarded-For everywhere

It hasn't mattered much to have these so far, but
it's probably a good idea to have them.
This commit is contained in:
Slavi Pantaleev
2019-01-17 16:25:08 +02:00
parent ba75ab496d
commit fef6c052c3
2 changed files with 6 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ server {
proxy_pass http://localhost:8765;
{% endif %}
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
}