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

@ -29,6 +29,8 @@ nodes['gce.bind01'] = {
'target': 'http://127.0.0.1:8000/', 'target': 'http://127.0.0.1:8000/',
}, },
}, },
'website_check_path': '/login',
'website_check_string': 'PowerDNS',
}, },
}, },
}, },

View file

@ -33,6 +33,8 @@ nodes['htz-cloud.luther'] = {
'domain': 'luther-ps.kunsmann.eu', 'domain': 'luther-ps.kunsmann.eu',
'php': True, 'php': True,
'extras': True, 'extras': True,
'website_check_path': '/user/login',
'website_check_string': 'Username',
}, },
}, },
}, },

View file

@ -25,7 +25,10 @@ nodes['htz-cloud.pirmasens'] = {
}, },
'nginx': { 'nginx': {
'vhosts': { 'vhosts': {
'salonkatrin.de': {}, 'salonkatrin.de': {
'website_check_path': '/',
'website_check_url': 'Salon Katrin',
},
}, },
}, },
'users': { 'users': {

View file

@ -23,6 +23,8 @@ nodes['htz-cloud.sewfile'] = {
'vhosts': { 'vhosts': {
'sewfile.franzi.business': { 'sewfile.franzi.business': {
'extras': True, 'extras': True,
'website_check_path': '/accounts/login/',
'website_check_string': 'Username',
}, },
}, },
}, },

View file

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