Skip to content

Commit 5bcbe0d

Browse files
committed
add rewrite rule to fix 404 errors when navigating to different pages.
1 parent 9e7a669 commit 5bcbe0d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

caddy/Caddyfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Docs: https://caddyserver.com/docs/caddyfile
22
0.0.0.0:80
33
fastcgi / php-fpm:9000 php
4+
rewrite {
5+
to /index.php?{query}
6+
}
47
browse
58
log stdout
69
errors stdout

0 commit comments

Comments
 (0)