I tried before with Mailcow and gave up, now I’m trying again with just a basic Chrismas list tracker, tried copying configs from other subfolder samples, including calibre-web which I have working, jellyfin, deluge, etc but I keep getting 502 bad gateway. The container name is declared as christmascommunity and the page should be christmas-community.
I assume you’re using the letsencrypt container, is that container in the same docker network as your christmascommunity container? if you’re using a subdomain, is there a dns entry for christmascommunity
if christmascommunity is not a container or is not in the same docker network, you need to proxy to the ip of the system. Can you access christmascommunity by going to http://<ip of server or docker host>:8022 ?
the config sample you put looks like a subfolder, does your christmascommunity app require a base url? have you set it if it does? (the subdomain portion may be specific to ombi)
Adding Muximux to the list of custom configs that give bad gateway. Copied from Sonarr.
Port is open, is on same net as lets encrypt, cname is in place.
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name muximux.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
# enable for ldap auth, fill in ldap details in ldap.conf
#include /config/nginx/ldap.conf;
location / {
# enable the next two lines for http auth
#auth_basic "Restricted";
#auth_basic_user_file /config/nginx/.htpasswd;
# enable the next two lines for ldap auth
#auth_request /auth;
#error_page 401 =200 /login;
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_muximux muximux;
proxy_pass http://$upstream_muximux:8083;
}
}