Traefik as router, Caddy as server, on docker

Your container isn’t named php-fpm, it’s named webapp, so you should do:

caddy.php_fastcgi: webapp1:9000

Also I think you’re missing all the - on those labels lines maybe? Not sure how strict yaml is about that.

1 Like