<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">is it possible to have multiple server_name directives in the same server block?</div><div class=""><br class=""></div><div class="">I.e. is the following possible?</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">server {</font></span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Menlo" class=""> listen 1.2.3.4:443 ssl;</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-family: Menlo;" class=""> server_name *.<a href="http://site1.org" class="">site1.org</a> *.<a href="http://site2.org" class="">site2.org</a>;</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Menlo" class=""> server_name ~^app1.*\.site3\.org$;</font></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Menlo" class=""> ….</font></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Or do I need to create a second server block?</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Thanks…</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Roger</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></span></div></body></html>