Simple NGinx rewrite is redirecting

view story

http://serverfault.com – I'm trying to setup a friendly URL for a website running on my Nginx server but for some reason, the url's are being redirected instead of being rewritten. For instance If a user visits mydomain.com/aboutme/ I want mydomain.com/aboutme/ to stay in the address bar, but for the content to be pulled from mydomain.com/aboutme.php In my Nginx site configuration I have the following (a simple example with some stuff chopped out for simplicities sake): server { listen; server_name www.mydomain.com; location / { rewrite ^/aboutus/$ http://www.mydomain.com/aboutus.php (HowTos)