Making IPv6 work with Caddy and Hetzner
After a few hours of fiddling, this site is now properly accessible via IPv6.
My configuration uses Caddy as the reverse proxy meaning that it forwards the requests to the right service based on the Host that the browser specifies.
Thanks to this, one server can host hundreds if not thousands of websites from one IP.
In my Caddyfile, I had specified the following
www.huijzer.xyz {
redir https://huijzer.xyz permanent
}
huijzer.xyz {
reverse_proxy 127.0.0.1:3000
}