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.

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 26 points 2 weeks ago (4 children)

Idiot. Didn't close the last bracket and instead used a parentheses. D'oh!

Working as it should with the correction.

  • source
  • hideshow 4 child comments
  • [–] 9 points 2 weeks ago (1 child)

    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
    
  • source
  • parent
  • hideshow 1 child comment