add prod os CA and make haproxy use it

This commit is contained in:
Kevin Fenzi 2017-08-22 19:41:07 +00:00
parent 51f7f22a66
commit 9d330280ef
2 changed files with 18 additions and 3 deletions

View file

@ -428,7 +428,6 @@ listen mbs 0.0.0.0:10063
server mbs-frontend02 mbs-frontend02:80 check inter 20s rise 2 fall 3
option httpchk GET /module-build-service/1/module-builds/
{% if env == "staging" %}
listen os-master 0.0.0.0:10064
balance hdr(appserver)
server os-master01 os-master01:443 check inter 10s rise 1 fall 2 ssl verify required ca-file /etc/haproxy/os-master.pem
@ -442,8 +441,6 @@ listen os-nodes 0.0.0.0:10065
server os-node02 os-node02:443 check inter 10s rise 1 fall 2 ssl verify none
option httpchk GET /
http-check expect status 503
{% endif %}
# Apache doesn't handle the initial connection here like the other proxy
# entries. This proxy also doesn't use the http mode like the others.