Nginx: Subdomains :redirect to/from s.domain.com / www.s.domain.com

Version 1.61.0

Bugfix
Finished

The "Force Redirect" domain option to redirect domain.com to www.domain.com or vice versa, was applying it's settings to the Nginx subdomain server{} entry, but was checking: if ($host = www.domain.com){ instead of: if ($host = www.sub.domain.com){ Fixed to set proper subdomain host check.

Interested to try DirectAdmin? Get a 30-day Free Trial!