Rewrite rules not working

Francis Daly francis at
Fri Nov 11 20:01:15 UTC 2022

On Fri, Nov 11, 2022 at 08:29:44AM -0500, blason wrote:

Hi there,

> By the way which one would you confirm is preferable method rewrite or
> return?

It depends, based on what you want to do.

For what I think you want, in this case, "return" is simpler.

Francis Daly        francis at

More information about the nginx mailing list