xeoncross / lowendscript

Bash scripts to set up/bootstrap low end virtual servers
326 stars 100 forks source link

Correct IPv6 nginx error #16

Closed minecrafter closed 11 years ago

minecrafter commented 11 years ago

I removed the "fix" where the IPv6 listener wouldn't conflict with the default nginx listener.

I believe that the Internet needs to be IPv6-ready, so I made this minor change. All sites will now be able to listen on IPv4 and IPv6. I think this also fixes issues with Debian wheezy (which doesn't need dotdeb, btw).

esemeniuc commented 11 years ago

The problem is that the site requires an AAAA record to be set as well, and if they set an AAAA record, they probably would want to know how to correctly configure nginx to handle the request.

It's a pain in the ass to edit the nginx.conf for little things when web servers are rebuilt often.

minecrafter commented 11 years ago

That's dead wrong. It will be up to the administrator to set an AAAA record or not. Making IPv6 work out of the box is better than the current solution, imho.

minecrafter commented 11 years ago

Upon further testing, it seems this won't work with dotdeb nginx.