nginxでphp、ルートディレクトリのindex.phpが動かない?!

nginxをインストールした後、phpを動かしたければ

        location ~ \.php$ {
            root           /var/www/html;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
            include        fastcgi_params;
        }   

上記コメントアウトされている箇所を有効にすればOK!みたいによく書いてありますが、これだけだと

localhost:8080/index.php

は表示されるんですが、

localhost:8080/

だと、index.phpが表示されずにindex.htmlが表示される!なんで?!と思っていたのですが nginx.conf の上のほうに

        location / { 
            root   html;
            index  index.html index.htm;
        }   

とルートの場合は index.htmlを呼ぶようになっていたからなのでした。こんなのでハマってしまったので誰かの為にメモ。
phpのコメントアウト外せば動くのかな〜と思いますよね?(^_^;)