URI rewrite with port number

Maxim Dounin mdounin at mdounin.ru
Wed Dec 22 21:07:58 MSK 2010


Hello!

On Wed, Dec 22, 2010 at 12:44:48PM -0500, microchip wrote:

> oops, forgot the add the rewrite ^
> http://somedomain.com:8080$request_uri? permanent; in first server, but
> it doesn't work

It won't as long as you still have "return 444;" before it.

Maxim Dounin



More information about the nginx mailing list