On Thu, Jan 10, 2013 at 11:35 AM, daveyfx <nginx-forum@nginx.us> wrote:
> I gave it a try and it did not work out. My access log repeated the
> following entry ~ 20 times.
>
> [09/Jan/2013:23:31:47 -0500] "GET / HTTP/1.1" 302 160 "-" "Mozilla/5.0
> (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0"
>
> Firefox kindly informed me that "The page isn't redirecting properly" I'm
> guessing it's getting caught in an infinite redirect.
>
> Is there anything else I can try?
>
location = / {
index index.html;
}
location / {
return 302 /;
}
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
> I gave it a try and it did not work out. My access log repeated the
> following entry ~ 20 times.
>
> [09/Jan/2013:23:31:47 -0500] "GET / HTTP/1.1" 302 160 "-" "Mozilla/5.0
> (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0"
>
> Firefox kindly informed me that "The page isn't redirecting properly" I'm
> guessing it's getting caught in an infinite redirect.
>
> Is there anything else I can try?
>
location = / {
index index.html;
}
location / {
return 302 /;
}
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx