Rewrite with permanent and last
neubyr
neubyr at gmail.com
Wed Nov 19 22:56:14 UTC 2014
On Wed, Nov 19, 2014 at 2:44 PM, Francis Daly <francis at daoine.org> wrote:
> On Wed, Nov 19, 2014 at 02:37:11PM -0800, neubyr wrote:
>
> Hi there,
>
> > Is it possible to rewrite URL with HTTP 301 and make that last rule in
> > current ruleset?
>
> Is that not what the flag "permanent" does?
>
> http://nginx.org/r/rewrite
>
> If not, can you show the config snippet, the request you make, and the
> response you get instead of the response you expect?
>
Thanks for the reply Francis. May be permanent 301 redirect also implies
last, but I couldn't find that in documentation. I don't have any config to
share as I am just exploring options and that's the only rule I have (so it
doesn't matter right now but I may need it in future).
-
N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20141119/2dcb6968/attachment.html>
More information about the nginx
mailing list