]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
docs: faq - html proxy - add more complete example for nginx
authorJaroslav Kysela <perex@perex.cz>
Sun, 14 May 2017 17:01:06 +0000 (19:01 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 May 2017 09:12:54 +0000 (11:12 +0200)
docs/markdown/faqs.md

index 8ad830cc6a215204caba39f5c55ce77314240e56..74dc6f88622383395daeb38173e33fd32fb51a3c 100644 (file)
@@ -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;
 }
 ```