Files
airi/server/dev/caddy/Caddyfile
T
RainbowBirdandautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> 22b5249c64 refactor(server): split independent auth service (#2202)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-12 23:33:58 +08:00

12 lines
254 B
Caddyfile

:3000 {
route {
@internal path /internal /internal/*
respond @internal 404
@auth path /api/auth /api/auth/* /auth /auth/* /.well-known/oauth-authorization-server/api/auth
reverse_proxy @auth auth:3000
reverse_proxy api:3000
}
}