aaaaaa
This commit is contained in:
parent
5f63527955
commit
f51dc7e078
31 changed files with 331 additions and 88 deletions
15
Caddyfile
Normal file
15
Caddyfile
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue