错误日志::rewrite or internal redirection cycle while processing "/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/user/logout", client: 127.0.0.1, server: gaomysion.com, request: "GET /user/logout HTTP/1.1", host: "gaomysion.com", referrer: "http://gaomysion.com/"
server {
listen 80;
server_name gaomysion.com;
root D:/work/wampwww/www/football;
index index.php index.html index.htm;
location / {
if (-f $request_filename) {
expires max;
break;
}
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
}
}
location = /50x.html {
root /var/www/nginx-default;
}
location /index.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME D:/work/wampwww/www/football/index.php;
include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}