Regex for rewrite of subdomains

etrader nginx-forum at
Thu Feb 14 22:05:21 UTC 2013

I want to rewrite subdomains by adding a separate server for subdomains as

server {
server {
server_name *

but how I can I ass a rewrite rule int the second server to process
subdomain requests as to

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

More information about the nginx mailing list