Remove index.php from custom permalinks in Wordpress when using Nginx