URL Rewrite is not working in Nginx
snippet in htaccess

URL Rewrite is not working in Nginx

user4439

location / {    
   rewrite ^(.*)$ /index.php?u=$1 last;
}