add rewrite rule to fix 404 errors when navigating to different pages.
This commit is contained in:
parent
9e7a669d5b
commit
5bcbe0d291
|
@ -1,6 +1,9 @@
|
||||||
# Docs: https://caddyserver.com/docs/caddyfile
|
# Docs: https://caddyserver.com/docs/caddyfile
|
||||||
0.0.0.0:80
|
0.0.0.0:80
|
||||||
fastcgi / php-fpm:9000 php
|
fastcgi / php-fpm:9000 php
|
||||||
|
rewrite {
|
||||||
|
to /index.php?{query}
|
||||||
|
}
|
||||||
browse
|
browse
|
||||||
log stdout
|
log stdout
|
||||||
errors stdout
|
errors stdout
|
||||||
|
|
Loading…
Reference in New Issue