mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
19 lines
480 B
Caddyfile
19 lines
480 B
Caddyfile
{$PROXY_DOMAIN} {
|
|
@supabase_api path /auth/v1/* /rest/v1/* /graphql/v1 /realtime/v1/* /storage/v1/* /functions/v1/* /mcp /sso/* /.well-known/oauth-authorization-server/auth/v1
|
|
|
|
handle @supabase_api {
|
|
reverse_proxy api-gw:8000
|
|
}
|
|
|
|
handle {
|
|
basic_auth {
|
|
# Written on startup by the caddy service in docker-compose.caddy.yml
|
|
import /config/dashboard-auth
|
|
}
|
|
|
|
reverse_proxy studio:3000
|
|
}
|
|
|
|
header -server
|
|
}
|