fastcgi and index

Sean Allen sean at
Mon Dec 7 20:18:59 MSK 2009

Have nginx in from of an application server where

directory /

if the index doesn't exist needs to be sent to backend...

right now i'm doing this to get it to work sort of

  location /
    index no;
    try_files $uri $uri/ @seaside;
    error_page 403 = @seaside;

If I don't have the 403, then trying to get


Results in a 403 forbidden. It doesnt pass it along to backend via fastcgi

How can I have that handled and still have an index file take precedence if
it exists?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list