Properly use x-forwarded-proto with redirects in the webui, related to #347

This commit is contained in:
kaiyou
2017-12-04 21:16:08 +01:00
parent 48d736feef
commit a4f46ced49
4 changed files with 13 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
# Default proxy setup
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;