I switched from Mikrotiks wAP accesspoints to TP-Link Omada EAP650s a while ago (check out my blog post ). As explained in that post, I started self hosting Omada controller which is the management software for these APs.
But I never mangaged to get it working behind caddy , my webserver / reverse proxy.
So it ran as a docker container on my home server with exposed ports without HTTPS. In my home environment that’s not a big deal but it always felt wrong.
A few days ago I setup
blocky
as my DNS server, again check the
blog post
if you’re interested.
So I setup omada.bouni.de
as a local DNS entry and let caddy serve it via HTTPS using a wildcard certificate.
I decided to not have this subdomain in my public entries because I don’t need to access it remotly. If I need to, I can do that via a Wireguard tunnel.
First the relevant part of my docker-compose.yml
|
|
And this is what my Caddyfile
looks like:
|
|
Be aware that the dns hetzner
part only works with a custom caddy build, explained
here
I found this solution in the caddy forums , posted by user drglove
As I had a hard time finding this, I decided to write this blog post, hoping to help others getting this working.