Re: redirect loop with try_files

2013-05-04 Thread Francis Daly
On Sat, May 04, 2013 at 10:20:32AM -0400, mschipperheyn wrote: Hi there, > ## Rewrite index requests > rewrite ^(.*)/index.(.*)$ $1/ permanent; That is likely to lead to a loop, unless you take great care elsewhere. (The typical defaults are: a request for /dir/ leads to an internal rewrite to

redirect loop with try_files

2013-05-04 Thread mschipperheyn
Hi, I have a front end nginx webserver with behind it a tomcat server. I ran into a nasty little redirect loop issue that I still don't understand. I'm trying to redirect users who have a session cookie to a different page than the other users I have a configuration such as this: ## Rewrite inde