How to stop Nginx sending static file requests to the CakePHP app controller when running Cake in a subdirectory?
- by robotmay
I'm trying to run a CakePHP app from within a subfolder on Nginx, but the static files are not being found and are instead being passed to the app controller. Here's my current config:
location /uniquetv {
index index.php index.html;
if (-f $request_filename) {
break;
}
if (!-e $request_filename) {…