Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Truly Seamless Reloads with HAProxy.
iptables --wait --table nat --append PREROUTING --protocol tcp --dport 80 ! --in-interface docker0 --jump DNAT --to $new_target
iptables --wait --table nat --delete PREROUTING --protocol tcp --dport 80 ! --in-interface docker0 --jump DNAT --to $old_target
The same had to be repeated on system start but otherwise it worked flawlessly and had zero-downtime.
There are no comments on this comment yet.
The same had to be repeated on system start but otherwise it worked flawlessly and had zero-downtime.