quic listen on multiple vhost

Anoop Alias anoopalias01 at gmail.com
Tue Jul 25 04:31:18 UTC 2023


Hi,

I am trying to setup nginx with multiple vhost and quic support for all and
using sample config as per
https://www.nginx.com/blog/binary-packages-for-preview-nginx-quic-http3-implementation/

server {
listen    65.109.175.140:443 ssl ;
listen    65.109.175.140:443 quic reuseport;
server_name a.com;
.............
.............................
}
server {
listen    65.109.175.140:443 ssl ;
listen    65.109.175.140:443 quic reuseport;
server_name b.com;
.............
.............................
}

This however is throwing an error

# nginx -t
nginx: [emerg] duplicate listen options for 65.109.175.140:443 in
/etc/nginx/sites-enabled/b.com.conf:105
nginx: configuration file /etc/nginx/nginx.conf test failed

What am I doing wrong?


-- 
*Anoop P Alias*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230725/a69d4cf5/attachment.htm>


More information about the nginx mailing list