Rewrite with permanent and last

Francis Daly francis at
Wed Nov 19 22:44:25 UTC 2014

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?

If not, can you show the config snippet, the request you make, and the
response you get instead of the response you expect?

Francis Daly        francis at

More information about the nginx mailing list