How to generate url with sub domain to new url with query string?

leakhina nginx-forum at
Mon Jun 22 09:37:40 MSD 2009

Hi everyone,

I'm very new with Nginx, and now I want to use Nginx to generate new url from the url user passed.
User type to browser like, and I want Nginx generates to or

How can I rewrite the nginx to do this?

Best regards,

Posted at Nginx Forum:,3235,3235#msg-3235

More information about the nginx mailing list