added example for pretty urls in nginx, using the old rewrite method and the newer try_files way