Browse Source
Update deploy/haproxy.sh
Co-authored-by: Matt Simerson <matt@tnpi.net>
pull/5180/head
Laurent Grawet
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
deploy/haproxy.sh
|
|
@ -327,7 +327,7 @@ haproxy_deploy() { |
|
|
|
|
|
|
|
# Update certificate over HAProxy stats socket or master CLI. |
|
|
|
if _exists socat; then |
|
|
|
export IFS=',' |
|
|
|
IFS=',' |
|
|
|
for _statssock in ${Le_Deploy_haproxy_stats_socket}; do |
|
|
|
# look for the certificate on the stats socket, to choose between updating or creating one |
|
|
|
_socat_cert_cmd="echo '${_cmdpfx}show ssl cert' | socat '${_statssock}' - | grep -q '^${_pem}$'" |
|
|
|