mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-15 15:08:54 +09:00
49 lines
727 B
Caddyfile
49 lines
727 B
Caddyfile
{$FLUXER_CADDY_SITE_ADDRESS} {
|
|
encode zstd gzip
|
|
|
|
handle_path /api/* {
|
|
reverse_proxy api:8080
|
|
}
|
|
|
|
handle /gateway {
|
|
rewrite * /
|
|
reverse_proxy gateway:8080
|
|
}
|
|
|
|
handle_path /gateway/* {
|
|
reverse_proxy gateway:8080
|
|
}
|
|
|
|
handle_path /media/* {
|
|
reverse_proxy media-proxy:8080
|
|
}
|
|
|
|
handle_path /livekit/* {
|
|
reverse_proxy livekit:7880
|
|
}
|
|
|
|
handle /admin {
|
|
rewrite * /
|
|
reverse_proxy admin:8080
|
|
}
|
|
|
|
handle_path /admin/* {
|
|
reverse_proxy admin:8080
|
|
}
|
|
|
|
@staticAssets path /fonts/* /web/* /emoji/* /libs/* /avatars/* /badges/* /desktop/* /embeds/*
|
|
handle @staticAssets {
|
|
reverse_proxy static-proxy:8080
|
|
}
|
|
|
|
handle {
|
|
reverse_proxy app-proxy:8080
|
|
}
|
|
}
|
|
|
|
:8088 {
|
|
handle_path /api/* {
|
|
reverse_proxy api:8080
|
|
}
|
|
}
|