I'm moving a site to a new server running on NGINX. The old site's Apache2 VirtualHost has ServerAlias
configured that I want to replicate in the NGINX configuration.
From what I've read on the NGINX Docs this seems to be simply achieved with server_name
.
I just want to make sure what I have is correct.
From APACHE2
ServerAlias our-domain.com www1.our-domain.com our-domain.ie
To NGINX
server_name www.our-domain.com our-domain.com www.our-domain.ie our-domain.ie;