Am using caddy as both my dev and production server. So today i decided to change a certain photo on my app, it changed but it didn’t update, digging in to what caused the problem i found out that caddy doesn’t forward requests to the fast-cgi process if they look like files instead it issues a 404
Below is my caddy file,
:8080
gzip
tls off
fastcgi / 127.0.0.1:9000 php {
index index.php
root ./public
}
rewrite {
r \w*
ext /
to /index.php?{query}
}
errors storage/logs/error.log
log storage/logs/access.log