rewrite to www EXCEPT for one directory

Edho Arief edho at
Fri Sep 7 00:13:04 UTC 2012

On Fri, Sep 7, 2012 at 5:51 AM,  <eddy at> wrote:
> maybe it's a stupid question, but: if 'permanent - returns permanent
> redirect with code 301' (, then
> why one should use 'return 301 URL' instat?

I believe a "return 301 URL" doesn't do regexp processing compared to rewrite.

More information about the nginx mailing list