Redirect root domain to subdomain

Redirect root domain to subdomain

Fel asked: I am trying to redirect: pt.example.com and example.com to https://pt.example.com pt.example.com will redirect to https://pt.example.com. That’s ok. example.com will redirect to https://example.com (not https://pt.example.com as expected) server { …