[Catalyst] nginx/FastCGI configuration issues
jester at panix.com
Fri Feb 17 10:41:41 GMT 2012
On Fri, Feb 17, 2012 at 07:59:19AM +1100, Kieren Diment wrote:
> On 16/02/2012, at 4:02 AM, Jesse Sheidlower wrote:
> > Executive summary: new deployment on nginx 1.0.5 and FastCGI; my
> > Catalyst apps are in non-root locations. When I go to the base, e.g.
> > http://mysite.com/incomings, $c->req->uri thinks I'm at
> > http://mysite.com/incomings//incomings. This is causing problems with
> > redirects.
> Can you provide a minimal test app? Something that followed the
> pattern of t/optional-lighttpd|apache*t tests in Catalyst-Runtime
> would be useful (to polish and fold into Catalyst--Runtime in due
> course), but not essential. As a minimum, a minimal app exposing the
> problem with a documented way to run a self-contained nginx/fastcgi
> instance would be useful.
Actually this has now been solved: you need to have a trailing slash on
the "location" in the nginx configuration file.
t0m and I have updated the docs accordingly.
More information about the Catalyst