From 552518424308b91890ef7c22b2249e24166e42e9 Mon Sep 17 00:00:00 2001 From: Srijan Choudhary Date: Tue, 11 Feb 2014 04:36:13 +0530 Subject: [PATCH] Docs update: forward url protocol in sample nginx configs --- docs/docs/configuration/setup.rst | 2 ++ docs/docs/quickstart.rst | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/docs/configuration/setup.rst b/docs/docs/configuration/setup.rst index b788551..8f1fa9c 100644 --- a/docs/docs/configuration/setup.rst +++ b/docs/docs/configuration/setup.rst @@ -19,6 +19,8 @@ originating from CORS_. Also, privacy-protecting browser addons such as location /isso { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Script-Name /isso; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-Proto $scheme; proxy_pass http://localhost:8080; } } diff --git a/docs/docs/quickstart.rst b/docs/docs/quickstart.rst index 49179d7..6a1a70b 100644 --- a/docs/docs/quickstart.rst +++ b/docs/docs/quickstart.rst @@ -111,6 +111,7 @@ configuration looks like this: proxy_pass http://localhost:8080; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; + proxy_set_header X-Forwarded-Proto $scheme; } }