Files
zopu-code/deploy/zopu-runtime/caddy/Caddyfile
T

16 lines
387 B
Caddyfile

# Caddyfile — Public reverse proxy for the Zopu chat + API.
#
# The web frontend (port 5174) is served at the root, and the agent/API
# (port 3590) is mounted under /api so the browser talks same-origin.
zopu.cheaptricks.puter.wtf {
bind 135.181.82.179 2a01:4f9:c013:4a64::1
encode zstd gzip
handle_path /api/* {
reverse_proxy 127.0.0.1:3590
}
reverse_proxy 127.0.0.1:5174
}