Organizr / Config-Collections-for-Nginx

A Collection of Functioning Nginx Configurations
GNU General Public License v3.0
155 stars 25 forks source link

Update bazarr.conf #13

Closed angrycuban13 closed 5 years ago

angrycuban13 commented 5 years ago

Please update bazarr.conf to include a trailing \ when specifying the location.

jrdnlc commented 5 years ago

So location /bazarr/ ?

angrycuban13 commented 5 years ago

Actually, we might need to modify the conf as follows:

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-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_redirect off;

There was someone in the support channel that copied the conf directly from here and it wouldn't work. After adding those additional headers it worked.

Not sure about the trailing / as it didn't work for him.

jrdnlc commented 5 years ago

Looks like Bazarr updated their nginx conf. Compared it to the one they have and updated it. Thanks