bundles/nginx: check ssl certificates
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
ec62dfdb9a
commit
6045debe9e
1 changed files with 2 additions and 2 deletions
|
@ -109,9 +109,9 @@ def monitoring(metadata):
|
|||
'vars.notification.sms': True,
|
||||
}
|
||||
|
||||
if vconfig.get('check_ssl', False):
|
||||
if vconfig.get('check_ssl', metadata.get('nginx/use_ssl_for_all_connections')):
|
||||
services['NGINX VHOST {} CERTIFICATE'.format(vname)] = {
|
||||
'check_command': 'check_vhost_https_cert_at_url',
|
||||
'check_command': 'check_https_cert_at_url',
|
||||
'vars.domain': domain,
|
||||
'vars.notification.mail': True,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue