{ # admin off # disable admin if wanted } skin.khhao.com { # Reverse proxy all /api* requests to the backend service reverse_proxy /api* backend:8080 # Serve static files for the frontend (SPA) file_server / { root * /usr/share/caddy try_files {path} {path}/index.html } }