Cleaning up my hosted services
I’ve got a shiny new dashboard and consistent access to all my home services! It’s very nice.

Since adopting Proxmox a couple of years ago I’ve grown to hosting a bunch of my own services. I didn’t really think about how I accessed them: I just threw them all on Tailscale and accessed them ad hoc. Each with their own URL on a random port, password, failing SSL, etc.
In this new setup I have a gateway that proxies requests to backend services. I have a single wildcard domain for them all. So linkding.private.example.com gets me to linkding instead of linkding.some-nonce.ts.net:9090. And SSL works. For some services, the gateway running at private.example.com could even handle authentication so I don’t have to use Linkding’s own password system. And in theory this system is safe to run on the public Internet, but in the last minute I chickened out.
Gateway: Reverse proxy
¾ of the value of my setup is running Caddy as a reverse proxy for *.private.example.com. I wish I’d done this a long time ago! Now all my requests go to one proxy web server with a wildcard domain. It’s much nicer than setting up tailscale on each service container. And Caddy makes SSL easy so I no longer have to click through a bunch of SSL errors.
Setting this up is pretty easy, mostly it’s just a bunch of config blocks like
@linkding host linkding.private.example.com
handle @linkding {
reverse_proxy 192.168.0.34:9090
}
A few of the services get persnickety about the hostname on the request matching their idea of their hostname, so you have to tell them to accept the proxy name as theirs.
Gateway: Authelia
The complicating factor on the gateway is I have Caddy set up to only proxy requests if I’m authenticated via Authelia. That works by setting up something like this in Caddy and including it in each service definition:
(authelia) {
forward_auth 127.0.0.1:9091 {
uri /api/authz/forward-auth
copy_headers Remote-User Remote-Groups Remote-Name Remote-Email
}
}
There’s a bunch of extra work to configure Authelia. For simple things a basic policy: two_factor rule is sufficient, Authelia will demand I log in before forwarding requests. For Linkding I had to add a special bypass rule for /api/ so that the Chrome extension worked.
I’m not sure Authelia was worth the trouble. Originally I did all this because I wanted to make this gateway host be on the public Internet, and so of course authentication is important. I think the config I have is secure to do that. But it’s complicated and I don’t really trust it, so at the last minute I put the gateway on my Tailnet instead of the public Internet. That’s fine for me.
The neat thing about this gateway approach is it works for multiple users. If I had many people accessing my backend services, possibly not from the tailnet, I’d commit to building trust.
The other nice thing Authelia can do is single sign-on. I log in to Authelia as Nelson, then it tells the backend services I’m Nelson and they trust that. Sometimes this works with a simple HTTP header, sometimes you need something more complex like OIDC.
I did set up proxied authentication for the linkding service. It was remarkably complicated, the key config is telling linkding LD_AUTH_PROXY_USERNAME_HEADER=HTTP_REMOTE_USER.
Every backend service has a different setup. And of course this means fully trusting Authelia’s authentication, it’s a little scary. I may do more of this in the future but for now I still have a bunch of passwords.
Homepage
The other part of this project was setting up Homepage, a simple website which serves as a lightweight dashboard + bookmarks for services. I like how it works, everything’s configured in one simple file and it’s pretty stateless. I’ll see how useful this is as a UI, I’m hoping it replaces my unwieldy list of bookmarks.
Sysadmin in the age of Claude
I never would have tried a project this complex without AI help. I used to love tinkering with this kind of stuff. But as I’ve gotten older and more retired I’ve gotten crankier about learning new things.
But using Claude is a marvel. I mostly did this with Opus/High and it was mostly right. I wanted to learn it as I went and I didn’t quite trust Claude, so I ran all the commands myself. Next time I might trust an agent to do the work for me.
Overall this project took about 6 hours over 3 days.