<div dir="ltr">Ok after reconsideration<div><br></div><div>Here's my new chain of thought</div><div><br></div><div>* Scenario #1:</div><div><br></div><div>Simply comment out the IPV6 line by default as follow:</div><div><br></div><div>server {<br>     listen 80 default_server;<br>#listen [::]:80 default_server;<br></div><div><br></div><div>I don't expect much impact in the behaviour change. It will only affect users expecting to have listen ipv6 turn on by default on new installation or force users to modify their recipes to uncomment the ipv6 listen.</div><div><br></div><div>Anyway this config must be used as a starting point/example. Most users will anyway modify it and overwrite it via puppet/chef/ansible/.....</div><div><br></div><div>Note that Centos "nginx-1.16.0-1.el8.ngx.src.rpm" delivers nginx without ipv6 listen:<br><div><br></div><div># nginx.vh.default.conf<br></div><div>server {<br>    listen       80;<br>    server_name  localhost;<br></div></div><div><br></div><div>So as upstream nginx:<br></div><div><a href="https://github.com/nginx/nginx/blob/master/conf/nginx.conf#L36">https://github.com/nginx/nginx/blob/master/conf/nginx.conf#L36</a><br></div><div><br></div><div>So why doing it differently ?</div><div><br></div><div>* Scenario #2 </div><div>I have a preference for Scenario #1 but in case of rejection I would go with that more hacky-ish approach that I have produced (see my patch)</div><div><br></div><div>Thoughts ? </div><div><br></div></div>