From 7e1a2b8a524cfb284f3a1e0262438de592087393 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sat, 24 Nov 2018 11:13:56 -0500 Subject: [PATCH] Updated Reverse proxy (markdown) --- Reverse-proxy-Nginx.md | 10 ++++++++++ Reverse-proxy.md | 21 --------------------- 2 files changed, 10 insertions(+), 21 deletions(-) create mode 100644 Reverse-proxy-Nginx.md delete mode 100644 Reverse-proxy.md diff --git a/Reverse-proxy-Nginx.md b/Reverse-proxy-Nginx.md new file mode 100644 index 0000000..db553c7 --- /dev/null +++ b/Reverse-proxy-Nginx.md @@ -0,0 +1,10 @@ +# Using Nginx and /bazarr/ base url: + + location /bazarr/ { + proxy_pass http://127.0.0.1:6767/bazarr/; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $http_host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_redirect off; + } \ No newline at end of file diff --git a/Reverse-proxy.md b/Reverse-proxy.md deleted file mode 100644 index ac390e1..0000000 --- a/Reverse-proxy.md +++ /dev/null @@ -1,21 +0,0 @@ -# Using Nginx and /bazarr/ base url: - - location /bazarr/ { - proxy_pass http://127.0.0.1:6767/bazarr/; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_redirect off; - } - -# Using Apache 2.3.12 or greater and /bazarr/ base url: -Apache 2.3.12or greater is required to support `AllowEncodedSlashes NoDecode` which is required for Sonarr/Radarr config testing. - - - - ServerName localhost - ProxyPass "/bazarr/ "http://127.0.0.1:6767/bazarr/" - ProxyPassReverse "/bazarr/" "http://127.0.0.1:6767/bazarr/" - AllowEncodedSlashes NoDecode - ServerAdmin webmaster@localhost \ No newline at end of file