first prototype
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user