Hello,
I've got the following DirectoryIndex:
DirectoryIndex main.php?page=pages/index&action=home
I would like to implement this into the Nginx configuration, you when you go the domain: http://www.mysite.com/ it actually loads the main.php?page=pages/index&action=home
I've tried after reading somewhere:
location ~ ^main.php\?page=index\&action=home {
autoindex on;
}
Anybody got the correct syntax for this? My other rewrite rules are working perfectly.
Thanks and cheers