How to redirect internally?

Francis Daly francis at
Fri Jul 27 12:33:35 UTC 2012

On Fri, Jul 27, 2012 at 05:42:17PM +0530, Yash Ganthe wrote:

Hi there,

> I have created a config so that a URL like
> is rewritten as

> What is annoying is that the browser now shows the rewritten URL and not
> the pretty URL. How can we ensure that the redirection happens only
> internally?

rewrites are internal, unless you do something to turn them into redirects
(= external).

What is the rewrite directive you are using? Are are you doing anything
the documentation says makes it become a redirect?

Francis Daly        francis at

More information about the nginx mailing list