rybbit/Caddyfile
Bill Yang 97c29dafac
Fix callbacks (#107)
* Fix callbacks

* fix layout

* Remove callbacks

* Disable redirects

* fix caddy

* test disable basepath

* wip

* test caddy fix

* remove basepath

* fml

* pray

* kms

* pray

* wip

* Test
2025-05-03 16:27:46 -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
}
}