# Caddyfile # Use the domain name passed from docker-compose environment {$DOMAIN_NAME} { # Enable compression encode zstd gzip handle_path /api/* { reverse_proxy backend:3001 } # Proxy all other requests to the client service handle { reverse_proxy client:3002 } }