From 5bcbe0d291ac8f7d7ce3346f970304c521771831 Mon Sep 17 00:00:00 2001 From: Eric Pfeiffer Date: Tue, 19 Jul 2016 22:16:36 -0500 Subject: [PATCH] add rewrite rule to fix 404 errors when navigating to different pages. --- caddy/Caddyfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index b7615c2..d8f6a5d 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -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