Reverse Proxy Help - TRaSH-/bazarr GitHub Wiki

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_http_version      1.1;
   proxy_set_header        Upgrade                 $http_upgrade;
   proxy_set_header        Connection              "Upgrade";
   proxy_redirect off;
}

Using Apache 2.3.12 or greater and /bazarr/ base url

Apache 2.3.12 or greater is required to support AllowEncodedSlashes NoDecode which is required for Sonarr/Radarr config testing.

<IfModule mod_ssl.c
<VirtualHost *:443
        ServerAdmin webmaster@localhost
        ServerName localhost
        AllowEncodedSlashes NoDecode


        <Proxy *
                Order deny,allow
                Allow from all
                Satisfy Any
        </Proxy

    ProxyPass "/bazarr/ "http://127.0.0.1:6767/bazarr/"
    ProxyPassReverse "/bazarr/" "http://127.0.0.1:6767/bazarr/"

</VirtualHost

Dockers

Use the Letsencrypt container, it has already pre-configured .conf files for subfolder and subdomain to make is easy.