View Single Post
  #1  
Old 27th February 2013, 10:08
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 118
Thanks: 0
Thanked 10 Times in 6 Posts
Exclamation index precedence change

Hello Till,

By default (Nginx+Php-FPM) the index precendence is defined as:

Code:
server {
        [...]
        index index.html index.htm index.php index.cgi index.pl index.xhtml;
        [...]
}
I would like to change that order to:

Code:
server {
        [...]
        index index.php index.htm index.html index.cgi index.pl index.xhtml;
        [...]
}
I know I can do it individually but I would like to make a general change such that by default for ALL domain names (current and new) use that setting.

Do kindly advice me on how that can be achieved.

Thanks, Joseph
Reply With Quote
Sponsored Links