How to configure SELinux to allow HAProxy remote backends on Linux

Linux

With the code below, you can set SELinux to allow remote backends.

getsebool haproxy_connect_any   # by default 0 
setsebool -P haproxy_connect_any 1