I mean when accessing “ha.horsboll.dk” in the browser from my main PC. The Proxmox>Docker>Caddy setup is running on a mini-pc and when trying to access ha.horsboll.dk from my main PC, I get the 404 (unless forcing port 80).
What config do you want to see? The docker-compose?
I read about the host-header, but honestly I do not know enough about the inner-workings of the flow to understand whether or not that is my issue (which is why I’m here, hat in hand).
Well this sounds like something I’ve completely missed in all of what I’ve read. It was my understanding that Caddy handled all of the https/SSL workings - hence only Caddy needed access to the certificates it pulls from letsencrypt? Which also is why I can (edit: or should be able to) reverse_proxy to port :80 on my apps, since Caddy serves as a middle-man and handles the https/SSL part of the traffic.
At least that is what I get from reading guides like this one (written for v1 I assume): Using Caddy as a reverse proxy in a home network
I once again apologize for maybe missing a key part of the setup. When reading the guides and the documentation for what I wanted to achieve (reverse proxying to different VMs and Docker containers) everything seemed easy enough to understand and setup – and it was up untill now – but maybe theres a layer of basic understanding that I’ve missed entirely.
My assumption is/was that it has to do with serving the certificates, since port 80 works, but that might just be the Host header not being correct, as you mentioned. I will try looking into that.
Thank you once again for your input.