this post was submitted on 14 Aug 2023
25 points (100.0% liked)

Selfhosted

40033 readers
554 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
 

Does anyone have a guide to Traefik for an absolute idiot (myself)?

I was able to get a freshrss server running using dockercompose and was able to connect to it on my local network, but all the guides I read said I NEED to have a reverse proxy before I access it remotely.

This is probably my sign I need to actually learn how to use docker instead of being lazy as hell and copy/pasting code, but I thought I'd ask.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 1 year ago (4 children)
[–] [email protected] 8 points 1 year ago (1 children)

+1 for caddy. I had some issues with traefik and switched to caddy and it’s so easy!

Just need to learn the more advanced stuff for the Caddyfile like error redirects and what not.

[–] [email protected] 1 points 1 year ago (1 children)

@fraydabson @krdo been curious about caddy before but I have no reason to switch from nginx-proxy-manager. Has anyone got any experience with both of these ? How do they compare?

[–] [email protected] 2 points 1 year ago (1 children)

Im new with reverse proxies. My understanding is that npm is way easier to do stuff with the UI and you use it to setup the certs and all that.

With caddy it has auto https. So you just need one Caddyfile listing your reverse proxies and that’s it. It just works. No config or anything.

Now if you want to do more advanced stuff like what you would do with nginx conf files, caddy is very expansive with its directives. Setting up redirects or error pages and what not. It’s super simple in the Caddyfile. I’m still learning how to do more complex stuff like if else statements and what not.

[–] [email protected] 1 points 1 year ago

@fraydabson Thanks for the explainer. I was recently tempted to try it out but my certs end everything is managed by NPM and didn't really have the time to redo my whole setup but it looms interesting

[–] [email protected] 1 points 1 year ago

@krdo I have found Caddy much easier to use than Traefik

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Also consider there's a plugin designed to change its config dynamically through docker labels sort of like Traefik, although I can't say I've used it myself.

[–] PlutoniumAcid 1 points 1 year ago

I installed npm (Nginx Proxy Manager) without problems before I heard about Caddy.

Npm works well and requires zero maintenance, and it's easy to manually add redirects via the web ui when I start new Docker containers.

"If it works, don't fix it." But if I didn't have npm today I would try Caddy.