nodes: add website checks to nginx vhosts

This commit is contained in:
Franzi 2020-11-10 11:26:49 +01:00
parent 8cb997133a
commit a185e027f8
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 18 additions and 1 deletions

View file

@ -176,6 +176,8 @@ nodes['htz.ex42-1048908'] = {
'target': 'http://localhost:22010/',
},
},
'website_check_path': '/login',
'website_check_string': 'Welcome to Jenkins',
},
'kunbox.net': {},
'kunsmann.eu': {
@ -195,6 +197,8 @@ nodes['htz.ex42-1048908'] = {
'postfixadmin.mx0.kunbox.net': {
'webroot': '/opt/postfixadmin/public/',
'php': True,
'website_check_path': '/login.php',
'website_check_string': 'login',
},
'rspamd.mx0.kunbox.net': {
'proxy': {
@ -219,6 +223,8 @@ nodes['htz.ex42-1048908'] = {
},
'webmail.mx0.kunbox.net': {
'php': True,
'website_check_path': '/',
'website_check_string': 'roundcube',
},
'wiki.franzi.business': {
'extras': True,
@ -227,6 +233,8 @@ nodes['htz.ex42-1048908'] = {
'owner': 'www-data',
'group': 'www-data',
},
'website_check_path': '/start?do=login',
'website_check_string': 'Username',
},
},
'worker_processes': 4,