I'm new to nginx and just looking for some advice/help. I've got two domains, the original domain oldsite.com
and the new domain newsite.com
.
I'd like to setup a 301 redirect from *.oldsite.com -> *.newsite.com. I've looked at the documentation and it looks like if you actually know the subdomain you want to redirect it is easy but I can't find anything on wildcard sub-domains.
Any help/insight is really appreciated.