mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-17 15:01:08 +02:00
17 lines
No EOL
314 B
Caddyfile
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
|
|
}
|
|
|
|
} |