How to enable ipv6 on Discourse Docker?

Hello!

I’m installing Discourse Docker with hostname ipv4 associated. When I change the ipv4 of the domain to ipv6, the forum stops responding. Restart server or docker don’t help.

1 Like

i would suggest setting both ipv4&6 and wait for the dns to update.

Once updated, you can remove 4

3 Likes

If you are using Cloudflare in front of your site, try Full SSL/TLS encryption mode, not Full Strict.

TLS (https) via IPv6 doesn’t seem to produce a valid crt with a default Discourse Docker install:

curl -v -H ‘Host: discourse.yoursite.com’ https://[your:ip:v6::address]

* ALPN, offering h2
* ALPN, offering http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to your:ip:v6::address:443 
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to your:ip:v6::address:443

However ignoring the cert (passing -k to cURL) seems to be valid.