I made more tests and even telnet does not reply when try to connect to port 443 or 80 on IPv6 from the machine itself:
# telnet <ipv6 address of the server> 443
Trying <ipv6 address of the server>...
telnet: connect to address <ipv6 address of the server>: Connection refused
Running same test on ipv4 :
# telnet <ipv4> 443
Trying <ipv4>...
Connected to <ipv4>.
Escape character is '^]'.
Also trying to listening connections with netstat does not show any ipv6 :
Check the config of your Linux machine, since it could be that ipv6 is disabled. What distro are you using?
I have no special config in gitlab.rb and mine listens on ipv6. You can use ifconfig to check if your eth0 or whatever interface has an ipv6 address. This will also verify if it’s enabled or disabled, since if ipv6 is disabled then there will be no ipv6 address at interface level.
There’s one difference between your config or mine, although not sure if it will be because of this but you can try:
nginx['listen_addresses'] = ['x.x.x.x', '[::]']
I have put x.x.x.x where my IP address was, since I don’t have it listening directly on 0.0.0.0 but you will notice I have single quotes, and yours has double quotes. Try changing this and then run: