Nginx ipv6 problems
Some background: I set up an omnibus installation on a server that uses both ipv6 and ipv4 addresses and received an error report that it didn't work well for one user that is on ipv6. So was I, but it worked for me, but it might be that I fell back to ipv4 when the user did not.
Anyway, what I did to resolve it was first putting nginx['listen_address'] = "[::]"
in gitlab.rb instead of having the default *
. This however causes nginx not to bind to ipv4 in some cases. A solution for that is adding ipv6only=off to the listen directives.
Here is a demonstration of how I have solved this: https://gitlab.com/kode/omnibus-gitlab/commit/35d449932a1435511b3db422638e83530949e2de
It would be nice to get this functionality upstream so that I do not have to redo this manually every time I upgrade.