Can fastcgi_index be used with multiple filenames?

Ian M. Evans ianevans at
Sat Mar 8 10:28:52 MSK 2008

Switching over to fastcgi php...

We use parse both .php and .shtml as php files. From looking at the 
syntax for fastcgi_index it looks like just one filename can follow it, 

fastcgi_index index.shtml;

but can it be

fastcgi_index index.shtml index.php;

More information about the nginx mailing list