16 lines
423 B
Caddyfile
16 lines
423 B
Caddyfile
# Example site block for the existing Caddy container. Caddy has to be attached
|
|
# to the external networks "wizard_website" and "wizard_api".
|
|
wizard.example.com {
|
|
encode zstd gzip
|
|
|
|
# Game server: REST + websocket (Caddy proxies websockets automatically).
|
|
# /internal/* (AI endpoint) is intentionally not exposed.
|
|
handle /api/* {
|
|
reverse_proxy wizard_server:8083
|
|
}
|
|
|
|
handle {
|
|
reverse_proxy wizard_website:8082
|
|
}
|
|
}
|