Welcome! Log In Create A New Profile

Advanced

fastcgi and index

Sean Allen
December 07, 2009 12:24PM
Have nginx in from of an application server where

/
or
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

http://localhost/

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?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

fastcgi and index

Sean Allen December 07, 2009 12:24PM

Re: fastcgi and index

Sean Allen December 09, 2009 11:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready