This commit is contained in:
Ivy Turner 2025-05-05 15:55:53 +01:00
parent 5f63527955
commit f51dc7e078
No known key found for this signature in database
31 changed files with 331 additions and 88 deletions

15
Caddyfile Normal file
View file

@ -0,0 +1,15 @@
# 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
}