From fec1ec52e7f8195ee9c2d0fdeb9803758c40b76e Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Thu, 19 May 2016 22:03:22 -0700 Subject: [PATCH] Update reverse proxy instructions --- Frequently-Asked-Questions-(FAQ).md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frequently-Asked-Questions-(FAQ).md b/Frequently-Asked-Questions-(FAQ).md index c0a4cc0..12d186d 100644 --- a/Frequently-Asked-Questions-(FAQ).md +++ b/Frequently-Asked-Questions-(FAQ).md @@ -98,7 +98,7 @@ http://localhost:8181/delete_duplicate_libraries **A:** You need to forward an external port on your router to the internal port used by PlexPy (default is `8181`). Visit [Port Forward](http://portforward.com/) for instructions for your particular router. #### Q: Why does PlexPy not work with my reverse proxy setup? -**A:** PlexPy uses CherryPy as it's web server, and CherryPy includes support for reverse proxies. However, you may need to locate your plexpy `config.ini` file and set `http_proxy = 1`. You should also ensure that your proxy web server (e.g. nginx or apache) is sending the standard `X-` headers to CherryPy. For **nginx**, the configuration would look like this: +**A:** PlexPy uses CherryPy as it's web server, and it includes support for reverse proxies. You must ensure that your proxy web server (e.g. nginx or apache) is sending the standard `X-` headers to CherryPy. For **nginx**, the configuration would look like this: ``` # Standard proxying headers @@ -108,7 +108,7 @@ proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ``` -If you are having issues with an HTTPS-terminating proxy setup (e.g. `Internet--->https://nginx--->http://plexpy`), you should ensure that your proxy web server is also including these two SSL-specific `X-` headers: +If you have SSL enabled on your webserver (e.g. `Internet --> https://nginx --> http://plexpy`), make sure HTTP Proxy is checked under Settings > Web Interface. Then ensure that your proxy web server is also including these two SSL specific `X-` headers: ``` # SSL proxying headers