From: Jaroslav Kysela Date: Sun, 14 May 2017 17:01:06 +0000 (+0200) Subject: docs: faq - html proxy - add more complete example for nginx X-Git-Tag: v4.2.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f74897513bd3dabebfdbce2744b1ee378d3f684;p=thirdparty%2Ftvheadend.git docs: faq - html proxy - add more complete example for nginx --- diff --git a/docs/markdown/faqs.md b/docs/markdown/faqs.md index 8ad830cc6..74dc6f886 100644 --- a/docs/markdown/faqs.md +++ b/docs/markdown/faqs.md @@ -41,6 +41,9 @@ Example for nginx (--http_root=/my/tvh/server): ``` location /my/tvh/server { proxy_pass http://1.1.1.1:9981; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } ```