hedgedoc/docker/Caddyfile
2025-04-15 23:22:00 +02:00

15 lines
495 B
Caddyfile

{$HD_BASE_URL} {
log {
output stdout
level WARN
format console
}
reverse_proxy /realtime http://backend:{$HD_BACKEND_PORT:3000}
reverse_proxy /api/* http://backend:{$HD_BACKEND_PORT:3000}
reverse_proxy /public/* http://backend:{$HD_BACKEND_PORT:3000}
reverse_proxy /uploads/* http://backend:{$HD_BACKEND_PORT:3000}
reverse_proxy /media/* http://backend:{$HD_BACKEND_PORT:3000}
reverse_proxy /* http://frontend:{$HD_FRONTEND_PORT:3001}
}