tabixio / tabix

Tabix.io UI
https://tabix.io
Other
2.17k stars 264 forks source link

Container fails to start if no inet6 family is available #225

Open adwski opened 3 years ago

adwski commented 3 years ago

It's a nginx configuration issue. Listening on ipv6 socket is hardcoded in config:

server {
        listen 80 default_server;
        listen [::]:80 default_server;
...

This leads to a fatal error if there's no ipv6:

nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)

Should be configurable or may be use some kind of autodetection.