1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-26 03:52:50 +02:00

Pass the full host to the backend, fixes #372

This commit is contained in:
kaiyou 2018-02-06 18:56:41 +01:00
parent 9e7aa423fd
commit 04278b6cbf

View File

@ -1,5 +1,5 @@
# Default proxy setup
proxy_set_header Host $host;
proxy_set_header Host $http_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 $proxy_x_forwarded_proto;