Path aliases don't work
If you just add the following snippet under -> location ~ '.php$|^/update.php' { 

#Redirect urls with php extension
if ($request_uri ~ .*.php.*) {
        error_page 404 =  @rewrite;
}


that should get it to work! It's basically telling nginx how to handle urls with .php extension.

And then restart nginx

sudo service nginx restart