Got my first server up and running and realized IPv6 is available on them all, so why not take advantage of that. I noticed that Nginx seems to support both IPv4 and IPv6 by default, most examples also show dual stack configs. But with haproxy in front, how can I support IPv6 too?
I remember it was a bit tricky to find that information, but you have to use tripple colon for IPv6, and then basically have a dual stack, just like in nginx. Try something like this:
First row is for IPv4, second one for IPv6.
It's not really what you'd expect, those three colons, but yea, that's the right way to do it.
Doesn't the tripple colon take care of both IPv4 and IPv6 tho?
Magnus_Lind I'm not sure, haven't tried that 🙂
Magnus_Lind It should do in haproxy, but for most applications you'll have a separate line for each interface.
Thanks, lol it's been a while but I got it working using @AndrewLowrance solution. Thanks man 👍️