From 96b4a9f06eeb4bdfd798a0194231128e62a8ff5f Mon Sep 17 00:00:00 2001
From: Temur Maisuradze <temur@grena.ge>
Date: Thu, 1 Oct 2020 11:44:19 +0400
Subject: [PATCH] fix haproxy configuration

---
 roles/haproxy/templates/haproxy.cfg.j2 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/roles/haproxy/templates/haproxy.cfg.j2 b/roles/haproxy/templates/haproxy.cfg.j2
index 6153991..1161002 100644
--- a/roles/haproxy/templates/haproxy.cfg.j2
+++ b/roles/haproxy/templates/haproxy.cfg.j2
@@ -27,7 +27,7 @@ listen nifiserv
 	balance source
 	option tcpka
 {% for nifihost in groups['nificontainers'] %}
-	server {{nifihost}} {{nifihost}}:9443 check
+	server {{nifihost}} {{nifihost}}:9443 ssl check verify none
 {% endfor %}
 
 listen odfeserv
@@ -92,9 +92,9 @@ listen nifiservhttp{{port}}
         balance source
         option tcpka
 {% for nifihost in groups['nificontainers'] %}
-        server {{nifihost}} {{nifihost}}:77{{port}} check
-
+        server {{nifihost}} {{nifihost}}:{{port}} check
 {% endfor %}
+
 {% endfor %}
 
 
@@ -109,7 +109,7 @@ listen nifiservtcp{{port}}
         option tcp-check
         tcp-check connect port {{port}}
 {% for nifihost in groups['nificontainers'] %}
-        server {{nifihost}} {{nifihost}}:77{{port}} check
-
+        server {{nifihost}} {{nifihost}}:{{port}} check
 {% endfor %}
+
 {% endfor %}
-- 
GitLab