server { listen 80; server_name foo.com; root /path; index index.html index.htm index.php; location / { try_files $uri $uri/ /index.php$is_args$args; } location ~ /.php$ { try_files $uri =404; include fastcgi.conf; fastcgi_pass 127.0.0.1:9000; } }
nginx配置php支持
猜你喜欢
转载自1971161579.iteye.com/blog/2414542
今日推荐
周排行