Closed Y0ngg4n closed 2 years ago
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.
for anyone else that stumbled upon this make sure you only use reuseport
on ONE listen
directive even if you have multiple server
blocks.
for anyone else that stumbled upon this make sure you only use
reuseport
on ONElisten
directive even if you have multipleserver
blocks.
What about multiple servers?
@zzlw show me your config
When i use you provided config
i get following error:
duplicate listen options for 0.0.0.0:443