100
121
8552
论坛元老
server{ listen 80; # 多站点(.conf),指定 listen,server_name ,root 的值。 server_name exam.lake1984.cn; root /usr/local/server/www/exam; location / { index index.php index.html index.html; #添加index.php } location ~ \.php$ { #取消FastCGI 部分的注释,内容如下: fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|临海小憇 ( 鲁ICP备16010828号-2 )
GMT+8, 2024-5-15 10:27 , Processed in 0.042940 second(s), 7 queries , File On.
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.