php-fpm配置

olyqcool 2020-05-10

location ~ \.php$ {
      root           /srv/oa/xinhu/;
      fastcgi_pass   127.0.0.1:9000;
      fastcgi_index  index.php;
      fastcgi_param  SCRIPT_FILENAME  /srv/oa/xinhu/$fastcgi_script_name;
      include        fastcgi_params;
}

相关推荐