News for hackers. Stuff that matters.
Re:The web server deployment model breaks at hobby scale by smithniels on Friday August 07, 2026 @10:47AM (#49211301)
As the next person on this post, I second Caddy
Re:The web server deployment model breaks at hobby scale by smashed on Friday August 07, 2026 @10:55AM (#49211436)
Ok I'll bite again.

Do you want a caddy service embedded with every web app you self host or are you running a single one serving all your apps?

From my understanding if you want acme http challenges to just work with let's encrypt you probably need to use a single, separated caddy to front all your apps.

In that case if I ship a caddy service pre configured to do TLS termination with my app it's just more trouble for you no?

Re:The web server deployment model breaks at hobby scale by dsvf on Friday August 07, 2026 @10:59AM (#49211502)
Fair enough, http is enough - I anyways have one caddy to rule them all. However, if your app is picky about reverse proxying, e.g. headers, please add a sample caddy config. It's often the first thing I'm looking for if I'm trying out a tool and want to host it under a subdirectory before configuring a subdomain.
Re:The web server deployment model breaks at hobby scale by sam_lowry_ on Friday August 07, 2026 @12:32PM (#49212929)
No, HTTP is not enough, I submitted a couple HTTP-only links to HN lately, they got flagged within half an hour, even HN crowd can not open HTTP links anymore ;-)
Re:The web server deployment model breaks at hobby scale by smashed on Friday August 07, 2026 @04:51PM (#49216092)
That's not really HN's fault but all modern browsers will warn the user before accessing an http site with a security warning.

My point was not to use http only as a finished solution, but to let the admin front the http-only service with their TLS termination solution of choice.

Re:The web server deployment model breaks at hobby scale by sam_lowry_ on Saturday August 08, 2026 @02:02AM (#49219258)
We are talking about hobbyists here.
Re:The web server deployment model breaks at hobby scale by dsvf on Saturday August 08, 2026 @04:59PM (#49225864)
... Of which (TLS terminators) caddy is IMO the easiest for hobbyists, as was the starting point of this subthread
Re:The web server deployment model breaks at hobby scale by sam_lowry_ on Sunday August 09, 2026 @06:55AM (#49230283)
I already commented on this twice here, but here it goes again:

I self-host Immich with Caddy as TLS terminator, and it's far from obvious.

They all run on a small N150 PC in my closet, the same PC serves as my internet router. Both Immich and Caddy run in podman-compose, and there are firewall rules that allow incoming traffic to Caddy and outgoing traffic from Caddy to update certificates. There's also a tricky setup of Systemd dependencies that make sure podman networking and firewall rules play nicely together and with other system config, like the bridge for the 2.4Gz range internal Wi-Fi and for external 5Gz Wi-Fi 6 card.

If not for the LLM help, I would have spent many days figuring out all the rough edges of this setup.

Which is exactly the point OP is making. Hobbying webhosting is hard nowadays.

Re:The web server deployment model breaks at hobby scale by chillfox on Friday August 07, 2026 @11:04AM (#49211570)
Just provide a docker compose file.
Re:The web server deployment model breaks at hobby scale by sam_lowry_ on Friday August 07, 2026 @12:27PM (#49212850)
I posted this in a sibling thread, but it's also appropriate here.

I self-host Immich with Caddy, and it's complex, really.

Caddy runs in podman compose next to Immich, there are firewall rules to allow traffic in and out and proper dependencies in custom systemd units in case podman networking goes bust after firewall rules are reloaded and a readme that covers all that.

Exactly the point OP is making.