TheloniusFunk 0 Posted May 12 Posted May 12 Hi I hope this is the right place. I'm new to this but I'm on my second round of setting it up because I didn't like the first one. The first time was tough and slow, but it mostly worked. This time it was simple but now it's doesn't mostly work. When trying to access Emby through my domain I get " refused to connect ". I went by this guide both times I also found a missed step from some other site that got it working the first time. I attached the most recent 3 server logs since this is ongoing. Thanks TF embyserver-63914178355.txt embyserver.txt hardware_detection-63914178360.txt
Aleas 90 Posted May 15 Posted May 15 (edited) What does your /config/nginx/proxy-confs/emby.subdomain.conf in swag look like? Did you also setup/install dockersocket? Here's what mine looks like. ## Version 2023/05/31 # make sure that your emby container is named emby # make sure that your dns has a cname set for emby # if emby is running in bridge mode and the container is named "emby", the below config should work as is # if not, replace the line "set $upstream_app emby;" with "set $upstream_app <containername>;" # or "set $upstream_app <HOSTIP>;" for host mode, HOSTIP being the IP address of emby # in emby settings, under "Advanced" change the public https port to 443, leave the local ports as is, set the "external domain" to your url, # and set the "Secure connection mode" to "Handled by reverse proxy" server { listen 443 ssl http2; listen [::]:443 ssl http2; #server_name emby.*; server_name emby.MYDOMAIN.COM; include /config/nginx/ssl.conf; client_max_body_size 0; location = / { return 301 https://$host/web/index.html; } location ~ ^/.+ { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app emby; set $upstream_port 8096; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; } } Also make sure you have this in the docker Edited May 15 by Aleas
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now