动态页面。
样例配置如下:
#cat /usr/local/nginx/conf/nginx.conf
……
server{
listen80;
server_namelocalhost;
location/{
//识别静态页面(除了 PHP外的其他所有页面)
roothtml;
indexindex.html;
}
location~*\.php${
//识别动态页面
roothtml;
fastcgi_pass127.0.0.1:9000;
include fastcgi.conf;
}
}
Copyright © 2013-2024 8a.hk All Rights Reserved. 八艾云 版权所有 中山市八艾云计算有限公司 粤ICP备14095776号 粤公网安备 44200002445359号
增值电信业务经营许可证编号:B1-20222012
代理域名注册服务机构:西部数码