Is it possible to rewrite URL with HTTP 301 and make that last rule in
current ruleset? For example, in apache one can use flags "[R=301,L]" , but
how can one do it in nginx? I tried using following, but it returned syntax
error:

Config: rewrite /members /users permanent last;

Error: nginx: [emerg] invalid number of arguments in "return" directive in
/etc/nginx/nginx.conf:60

Any help?

--
N
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to