Caddy_rsync_webserver/Caddyfile

10 lines
134 B
Caddyfile

:80 {
root * /www/html
file_server
try_files {path}.html {path}
handle_errors {
rewrite * /404.html
file_server
}
}