From 1f4edb38e6d03926b1fd6d52cfe9913ffbcfda41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Mon, 17 Dec 2018 19:29:07 +0100 Subject: [PATCH] Add extra headers to Nginx (#303) --- PROXY.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PROXY.md b/PROXY.md index c151fc9d..188228af 100644 --- a/PROXY.md +++ b/PROXY.md @@ -39,6 +39,10 @@ server { location / { proxy_pass http://:80; + 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; } location /notifications/hub {