this post was submitted on 05 Jul 2023
12 points (80.0% liked)

Selfhosted

40266 readers
1188 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] dustojnikhummer@lemmy.world 1 points 1 year ago (1 children)

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

[–] terribleplan@lemmy.nrd.li 1 points 1 year ago (1 children)

Your logs (at debug level at least, which is where I keep my server, haha) should have entries something along the lines of:

  • Receiving configuration from the file provider
  • What routers and services it sets up based on the configuration
  • Whether certificate generation is needed for the routers
  • What happens when LEGO tries to generate the certificate (created account, got challenge, passed/failed challenge, got cert, etc)
[–] dustojnikhummer@lemmy.world 1 points 1 year ago (1 children)

The only thing Portainer gives me is weirdly

time="2023-07-05T20:42:26Z" level=info msg="Configuration loaded from file: /etc/traefik/traefik.toml"

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

[–] terribleplan@lemmy.nrd.li 1 points 1 year ago (1 children)

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.

[–] dustojnikhummer@lemmy.world 1 points 1 year ago

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.

The syntax errors are weird/concerning

I often save when editing files, that's why it's popping up there

Enabled log.level debug but still nothing