add template to create index.php under nginx
add template for index.php