10 lines
191 B
Caddyfile
10 lines
191 B
Caddyfile
:{$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
|
||
}
|