:{$PORT:5000} { root * /usr/share/caddy file_server # SPA-routing – returnera alltid index.html för okända paths try_files {path} /index.html encode gzip }