{ auto_https off } :8080 { root * {$CADDY_SITE_ROOT} handle /api/* { reverse_proxy {$CADDY_API_UPSTREAM} } @public_assets path /branding/* /character/* /generated-character-drafts/* /generated-characters/* /generated-custom-world-scenes/* /generated-qwen-sprites/* /Icons/* /Pixel* /scene_bg/* /UI/* handle @public_assets { root * {$CADDY_PUBLIC_ROOT} file_server } handle /healthz { respond "ok" 200 } handle { encode gzip zstd try_files {path} /index.html file_server } }