It’s a good idea to validate your config before reloading it (whether it’s by running caddy reload or restarting/reprovisioning the container):
[docker exec -it caddy-container] caddy validate --config /etc/caddy/Caddyfile
Comment on Caddy and multiple subdomains/reverse proxies
UnrefinedChihuahua@lemmy.dbzer0.com 1 day ago
Idiot. Didn’t close the last bracket and instead used a parentheses. D’oh!
Working as it should with the correction.
It’s a good idea to validate your config before reloading it (whether it’s by running caddy reload or restarting/reprovisioning the container):
[docker exec -it caddy-container] caddy validate --config /etc/caddy/Caddyfile
This is a home lab, I have no change control or testing. It either comes up or it doesn’t. We test in prod around here.
One day it’s gonna bite me in the ass hard.
cybervseas@lemmy.world 1 day ago
For once it wasn’t DNS! 🔥🔥
curbstickle_lw@lemmy.world 1 day ago
Its never DNS! Unless it is, which is almost always.