Fastcgi and index

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?

i took care of this by doing, would be interested to know if there is a
better way.

location /
{
index index.html index.htm;
try_files $uri $uri/ @seaside;
error_page 403 = @seaside;
}

location ~ ^/$
{
index no;
error_page 403 = @seaside;
}