Remove URI string?

Edho Arief edho at myconan.net
Thu Jan 10 04:37:44 UTC 2013


On Thu, Jan 10, 2013 at 11:35 AM, daveyfx <nginx-forum at 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 /;
}



More information about the nginx mailing list