There have been a few Reddit, Lemmy and Youtube posts over the past week or so about Nginx Proxy Manager and their shortfalls, mostly towards CVEs and other security issues.
The problem is that unlike Traefik, NGINX Proxy Manager is actually easy to use. And before you recommend Caddy, that also has no GUI.
What do you use, if you have stuff exposed to the outside?
Well, it works just fine for Docker containers, but trying to point it at other services is what is making my head hurt. With NPM it is literally “this IP at this port with this certificate = https://service.domain.tld”
This setup sadly ends up with ERR_SSL_UNRECOGNIZED_NAME_ALERT for both services. These URLs are NOT proxied through Cloudflare. I’m trying to move from Truecharts + Traefik into manual docker + traefik
Is traefik successfully getting the cert via LE? It sounds like for one reason or another it is still using the built-in/default cert for those services. You can check the traefik log’s LEGO lines, and/or look at your
/letsencrypt/acme.json
.In my example I specified
entrypoints.https.http.tls.domains
, but I think that is only necessary when you’re doing wildcard domains with a DNS solver.edit: You may need to use the file provider rather than trying to specify stuff in the main config toml… traefik differentiates from “static” config that it has to know at boot time and can’t change and “dynamic” config like routers and stuff.
I am using a dynamic file, traefik_dynamic.toml
And it seems like I’m not getting certificates, acme.json doesn’t have those two services in my dynamic config, ie jellyfin and librespeed
Your logs (at debug level at least, which is where I keep my server, haha) should have entries something along the lines of:
The only thing Portainer gives me is weirdly
And syntax errors in my dynamic.toml file, but nothing about routers, services or certificates
I can see those services and routers in the traefik dashboard though
I am pretty sure what I described is only when
--log.level=DEBUG
or[log] level = "DEBUG"
The syntax errors are weird/concerning if it says there are errors but it still seems to load the config anyway (based on you seeing them in the dashboard).
Back when I used the file provider I pointed it at a directory and put every router/service in its own file with that volume’d in to e.g.
/traefik-conf
. That’s probably more just advice than being your problem though.I did try having jellyfin.toml and librespeed.toml but thought that isn’t possible. If it is I would def prefer to go that way.
I often save when editing files, that’s why it’s popping up there
Enabled log.level debug but still nothing