I have setup an nginx proxy with a couple of servers behind it, also
For the most part everything works nicely, although I have a strange
I have my domains setup with a wildcard CNAME record so any subdomain
I have tried to redirect any requests from sub domains of these 2
rewrite ^/(.)$ http://domain1.com/$1 permanent;
I also tried using a check against the hostname.
Can anyone help resolve this?