<div dir="ltr">Hello list,<div><br></div><div>I am in a process to configure nginx infront of apache. For vhost having single domain like <a href="http://www.mydomain.com">www.mydomain.com</a> & <a href="http://mydomain.com">mydomain.com</a> ; there is no issue to configure by server_name directive.</div>
<div><br></div><div>But what to do where multiple domain points to a single apache vhost using apache server_alias directive ? Can nginx server_name simply points all those domains to the required vhost of apache ?</div><div>
<br></div><div> is</div><div><br></div><div>nginx [ server_name <a href="http://test1.com">test1.com</a> <a href="http://test2.com">test2.com</a> <a href="http://www.test3.com">www.test3.com</a> ] </div><div><br></div>
<div>equivalent to</div><div><br></div><div>apache [</div><div>servername <a href="http://test1.com">test1.com</a></div><div>serveralias <a href="http://test2.com">test2.com</a> <a href="http://www.test3.com">www.test3.com</a> ]</div>
<div><br></div><div>? </div><div><br></div><div>Thanks</div></div>