location / { proxy_set_header Host sub.domain.host.com; proxy_pass https://other.host.com/; }
The host header ends up being www.sub.domain.host.com, is there a way to prevent the www from being added?
Edit, I was wrong. You can create more levels on your domain.
https://webmasters.stackexchange.com/questions/77534/subdomain-of-subdomain-how-is-it-possible
1.4m articles
1.4m replys
5 comments
56.9k users