Virtual hosts sharing same port

Richard Demeny richarddemeny at gmail.com
Mon Apr 16 09:21:36 UTC 2018


It's possible if the so-called 'virtual machines' of yours are NOT on the
same machine

On Mon, 16 Apr 2018 10:19 A. Schulze, <sca at andreasschulze.de> wrote:

>
> Frank Liu:
>
> > Can I use different listen parameters for virtual hosts using the same
> > port? Eg, one vh has “listen 443 ssl;” and the other one has “listen 443
> > ssl h2;”
>
> no, that's impossible (I think...)
>
> https://nginx.org/r/listen
> ...
> The listen directive can have several additional parameters specific
> to socket-related system calls. These parameters can be specified in
> any listen directive, but only once for a given address:port pair.
> ...
>
> Andreas
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180416/5fbbc176/attachment.html>


More information about the nginx mailing list