rybbit/Caddyfile
2025-05-14 13:45:07 -07:00

17 lines
No EOL
314 B
Caddyfile

# 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
}
}