add rewrite rule to fix 404 errors when navigating to different pages.

This commit is contained in:
Eric Pfeiffer 2016-07-19 22:16:36 -05:00
parent 9e7a669d5b
commit 5bcbe0d291

View File

@ -1,6 +1,9 @@
# Docs: https://caddyserver.com/docs/caddyfile
0.0.0.0:80
fastcgi / php-fpm:9000 php
rewrite {
to /index.php?{query}
}
browse
log stdout
errors stdout