]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
docs: add a note about HTTP proxy settings to FAQs
authorJaroslav Kysela <perex@perex.cz>
Sat, 13 May 2017 17:25:52 +0000 (19:25 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 May 2017 09:12:45 +0000 (11:12 +0200)
docs/markdown/faqs.md

index 4e5b003a9fc83e9166cdf2d37836c708d43a8931..8ad830cc6a215204caba39f5c55ce77314240e56 100644 (file)
@@ -28,3 +28,24 @@ see if the block device files (i.e. the files used to communicate with the tuner
 
 The other major cause of this issue is when you're running Tvheadend as a user who doesn't have sufficient
 access to the tuners, such as not being a member of the *video* group.
+
+###Q: Access Tvheadend through HTTP proxy
+
+Use '--http_root' directive to specify the alternative http webroot (initial
+path prefix). The proxy server *MUST* pass this webroot path in the HTTP
+request, otherwise an access to the Tvheadend server will end with
+the endless redirect loop.
+
+Example for nginx (--http_root=/my/tvh/server):
+
+```
+location /my/tvh/server {
+  proxy_pass http://1.1.1.1:9981;
+}
+```
+
+Example for apache (--http_root=/my/tvh/server):
+
+```
+ProxyPass "/my/tvh/server" "http://1.1.1.9981/my/tvh/server";
+```