Updated Reverse proxy (markdown)

morpheus65535 2018-11-24 11:13:56 -05:00
parent eb4f89c1e3
commit 7e1a2b8a52
2 changed files with 10 additions and 21 deletions

10
Reverse-proxy-Nginx.md Normal file

@ -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;
}

@ -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.
<IfModule mod_ssl.c>
<VirtualHost *:443>
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