Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazarr Aquamarine and NGINX Variable Method #32

Closed
therealatreides opened this issue Mar 4, 2020 · 9 comments
Closed

Bazarr Aquamarine and NGINX Variable Method #32

therealatreides opened this issue Mar 4, 2020 · 9 comments

Comments

@therealatreides
Copy link

Got several supported apps working, but Bazarr does not seem to work with Aquamarine on using the variable method with nginx.

@GilbN
Copy link
Collaborator

GilbN commented Mar 4, 2020

Specific page/div or just the whole theme. Other themes work?

@GilbN
Copy link
Collaborator

GilbN commented Mar 4, 2020

image

Works here?

	map $host $theme {
		default aquamarine;
	}
location /bazarr/ {
    proxy_pass http://192.168.1.34: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;
    proxy_buffering 		off;
    proxy_http_version 		1.1;
	proxy_set_header Connection "upgrade";
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
    proxy_no_cache 			$cookie_session;
	set $app bazarr;
	include /config/nginx/theme-park.conf;
 }

@therealatreides
Copy link
Author

therealatreides commented Mar 4, 2020

Upgraded to latest version of Bazarr, same thing.

My bazarr conf set up correctly, and works on radarr, transmission, etc. Just bazarr having the issue. Below is the bazarr conf

location /bazarr/ {
proxy_pass http://127.0.0.1:30431;
proxy_redirect off;
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
#access_log logs/bazarr.access.log;
#error_log logs/bazarr.error.log;
set $app bazarr;
include theme-park.conf;
}

@GilbN
Copy link
Collaborator

GilbN commented Mar 4, 2020

include theme-park.conf; is that line correct?

@therealatreides
Copy link
Author

Should be. All my other confs are set up the same way.

@GilbN
Copy link
Collaborator

GilbN commented Mar 4, 2020

tried without variable?

@therealatreides
Copy link
Author

Same thing. Must be something with the nginx setup. I am not seeing anything related in the html source of the generated page either.

image

@GilbN
Copy link
Collaborator

GilbN commented Mar 4, 2020

try and use what the dev recommends https://github.com/morpheus65535/bazarr/wiki/Reverse-proxy-Nginx

@therealatreides
Copy link
Author

Yeah, definitely something at the box's end. Still nada. Will follow up there to see what I can find. Nothing on your end for sure.

@GilbN GilbN closed this as completed Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants