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 { aby ahbruinsma - Migration from Other Servers