如果访问 index.php 那么一定要include fastcgi.conf (是相对路径,这点要注意)
举例:
location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; include fastcgi.conf; }
标签:index,include,nginx,conf,php,fastcgi From: https://www.cnblogs.com/zno2/p/6481551.html
如果访问 index.php 那么一定要include fastcgi.conf (是相对路径,这点要注意)
举例:
location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; include fastcgi.conf; }
标签:index,include,nginx,conf,php,fastcgi From: https://www.cnblogs.com/zno2/p/6481551.html