How to redirect to a query

sjark nginx-forum at nginx.us
Wed Mar 9 12:51:31 MSK 2011


Same problem I get this error in chrome 310
(net::ERR_TOO_MANY_REDIRECTS): 

[code]
server {
    listen       80 default;
    server_name  www.mysite.com;
    root   /home/www/mysite;
    include standard.conf; #php-fpm settings

    location = / {
      rewrite ^ /?index=site&id=1? permanent;
    }
}
[/code]

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,181278,181541#msg-181541




More information about the nginx mailing list