您的位置:首页 > 运维架构 > Nginx

Centos7+Nginx1.10.2+php-fpm基本配置phpinfo

2020-02-17 07:48 351 查看
server {
        listen          80;
        server_name     192.168.1.195;
        root            /data/www/default;
        index           index.php index.html;

        location / {
                root /data/www/default;
                index index.php index.html;
        }

        location ~ \.php$ {
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                include fastcgi.conf;
        }
}
  • 点赞
  • 收藏
  • 分享
  • 文章举报
q12885119 发布了1 篇原创文章 · 获赞 0 · 访问量 123 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: