redirect urls

Edho Arief edho at
Mon Oct 15 16:16:22 UTC 2012

On Mon, Oct 15, 2012 at 9:26 PM, S Ahmed <sahmed1020 at> wrote:
> So when nginx responds with a 301, is that an additional rountrip for the
> user?
> Could I somehow maintain the url for the client, but internally re-write it
> to the updated url so my web application can handle it correctly?

rewrite ^ /posts/$arg_post_id;

More information about the nginx mailing list