Hoping the brain trust can help.
Single reverse proxy? No issues at all. If I add multiple per some instructions on the caddy forums, nothing works - the docker container just continually reboots with no errors in the log.
Caddyfile:
fmd.domain.ca {
reverse_proxy 10.179.200.199:8080
}
llama.domain.ca {
reverse_proxy 192.168.3.199:3000
)
With only the fmd entry, works fine.
Idiot. Didn’t close the last bracket and instead used a parentheses. D’oh!
Working as it should with the correction.
For once it wasn’t DNS! 🔥🔥
Its never DNS! Unless it is, which is almost always.
Note that you are likely leaking a list of all your subdomains in certificate transparency logs. Some users might not want that to happen, in that case using a wildcard certificate can help, but it’s either more tedious to set up (generating the cert outside of caddy) or less readable (using a Caddyfile with a single domain block for the wildcard containing a handle block per subdomains).

