回复: Why doesn't Nginx rewrite directive support '@' named_location?

yzprofile yzprofiles at gmail.com
Tue Mar 18 17:44:21 UTC 2014


Hi,  

> Simple answer is:
> 
> Because rewrite directive is to rewrite request URI as per it's name,
> while redirecting a request to a named location preserves request
> URI (and that's the sole purpose of named locations).
> 
> More complex one is:
> 
> Support of named locations in rewrites was discussed more than
> once, and yet we've failed to convince Igor that it will be a
> good change.



Thanks for you answer. :  )

Regards.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140319/363935c8/attachment.html>


More information about the nginx mailing list