shenaishiren

server {
listen 80;
server_name robot.com;
root "C:/Users/Administrator/Desktop/DevelopmentWorksvn/robot";


location / {
index index.html index.htm index.php;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
}
}
location ~ \.php(.*)$ {

fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
#fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;

fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;


}

}

分类:

技术点:

相关文章:

  • 2021-06-24
  • 2021-06-22
  • 2021-05-11
  • 2021-09-09
  • 2021-10-07
  • 2021-10-23
猜你喜欢
  • 2021-11-23
  • 2021-12-04
  • 2021-12-14
  • 2021-12-14
  • 2021-11-23
相关资源
相似解决方案