<div dir="auto">It's possible if the so-called 'virtual machines' of yours are NOT on the same machine</div><br><div class="gmail_quote"><div dir="ltr">On Mon, 16 Apr 2018 10:19 A. Schulze, <<a href="mailto:sca@andreasschulze.de">sca@andreasschulze.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Frank Liu:<br>
<br>
> Can I use different listen parameters for virtual hosts using the same<br>
> port? Eg, one vh has “listen 443 ssl;” and the other one has “listen 443<br>
> ssl h2;”<br>
<br>
no, that's impossible (I think...)<br>
<br>
<a href="https://nginx.org/r/listen" rel="noreferrer noreferrer" target="_blank">https://nginx.org/r/listen</a><br>
...<br>
The listen directive can have several additional parameters specific <br>
to socket-related system calls. These parameters can be specified in <br>
any listen directive, but only once for a given address:port pair.<br>
...<br>
<br>
Andreas<br>
<br>
<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank" rel="noreferrer">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></blockquote></div>