CakePHP in a subdirectory using nginx

CakePHP in a subdirectory using nginx

I was facing many issues in setup cakephp3 in subfolder on nginx server.

I was doing changes in new server config while we have to do that in existing server config(well that work for me 🙂 )

 

cakephp subdirectory nginx
cakephp subdirectory nginx

 

So I just add following in default config file. Which can be found /etc/nginx/sites-available

 

 

And enable base_url in app.php in config folder of cakephp

 

 

 

%d bloggers like this: