duplicate listen options for 0.0.0.0:443
Y0ngg4n opened this issue · comments
When i use you provided config
# quic and http/3
listen 443 http3 reuseport;
# http/2 and http/1.1
listen 443 ssl http2;
i get following error:
duplicate listen options for 0.0.0.0:443
Which version of the nginx are you running? The one from this git repository's container?
reuseport
should work just fine and allow you to handle both http/2 and h3 requests at the same port.
yes the one from this git repositorys container
Interesting, there's the same section in the config file used for testing the container - https://github.com/macbre/docker-nginx-http3/blob/master/tests/https.conf#L3-L7
Can you provide the full nginx config of yours?
Dont know maybe its a local bug of me does not appear now. Dont know how i fixed it.