Nginx cakephp运行子文件夹
我使用的是cakephp+winNMP(nginx+mariadb+php), 我已经成功地在nginx上运行了web。 我想在子目录中运行类似的cakephp代码。如: 我的目录结构是: 是配置nginx:Nginx cakephp运行子文件夹,nginx,cakephp,Nginx,Cakephp,我使用的是cakephp+winNMP(nginx+mariadb+php), 我已经成功地在nginx上运行了web。 我想在子目录中运行类似的cakephp代码。如: 我的目录结构是: 是配置nginx: root "c:/winnmp/www/huyquangltd"; autoindex on; location ~ \.php$ { #try_files $uri =404; include
root "c:/winnmp/www/huyquangltd";
autoindex on;
location ~ \.php$ {
#try_files $uri =404;
include nginx.fastcgi.conf;
include nginx.redis.conf;
fastcgi_pass php_farm;
fastcgi_hide_header X-Powered-By;
}
location / {
try_files $uri $uri/ /index.php?$args;
}