[PHP] nginx 下 Kohana PHP 的配置 →→→→→进入此内容的聊天室

来自 , 2020-04-22, 写在 PHP, 查看 109 次.
URL http://www.code666.cn/view/a4d92e2c
  1. location / {
  2.     index index.php index.html index.htm;
  3.     try_files $uri $uri/ index.php$uri?$args;
  4. }
  5.  
  6. location ~ ^(.+.php)(.*)$ {
  7.     fastcgi_split_path_info ^(.+.php)(.*)$;
  8.     fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
  9.     fastcgi_param  SCRIPT_FILENAME    $document_root/$fastcgi_script_name;
  10.     fastcgi_param  PATH_INFO          $fastcgi_path_info;
  11.  
  12.     include fastcgi.conf;
  13.  
  14.     fastcgi_pass  127.0.0.1:9000;
  15.     fastcgi_index index.php;
  16. }
  17.  
  18.  

回复 "nginx 下 Kohana PHP 的配置"

这儿你可以回复上面这条便签

captcha