ivy.rs/Caddyfile
2025-05-05 15:55:53 +01:00

15 lines
No EOL
284 B
Caddyfile

# this will only work on my vps.. sorry lol
http://localhost:9000 {
root * ./dist
file_server
handle_errors {
@404 {
expression {http.error.status_code} == 404
}
rewrite @404 /404.html
file_server
}
import ./redirects.caddyfile
}