Clean haproxy
Remove /etc/haproxy/conf.d/nbosdm_service file.
rm /etc/haproxy/conf.d/nbosdm_service
Remove HAproxy configuration entry from /etc/haproxy/haproxy.cfg file.
frontend nbosdm_service-front-1
bind hostname:8784 ssl crt /etc/ssl/private/
haproxy.pem ciphers ECDH+AESGCM:DH+AESGCM:ECDH
+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM
:RSA+AES:!aNULL:!MD5:!DSS
option httplog
option forwardfor except 127.0.0.0/8
reqadd X-Forwarded-Proto:\ https
mode http
default_backend nbosdm_service-back
frontend nbosdm_service-front-2
bind 172.26.1.2:8784
option httplog
option forwardfor except 127.0.0.0/8
mode http
default_backend nbosdm_service-back
backend nbosdm_service-back
mode http
balance leastconn
stick store-request src
stick-table type ip size 256k expire 30m
option forwardfor
option httplog
option httpchk GET / HTTP/1.0\r\nUser-agent:\ osa-haproxy-healthcheck
server controller_nbosdmapi_container-bf17d5b3 172.26.1.75:8784
check port 8784 inter 12000 rise 1 fall 1
Restart the HAproxy service.
systemctl restart haproxy