Added user agent to health checks

This commit is contained in:
Dennis Schwerdel
2017-10-04 13:05:00 +02:00
parent b85bc3aa01
commit e3f3241966
+1
View File
@@ -94,6 +94,7 @@ function checkAppHealth(app, callback) {
superagent
.get(healthCheckUrl)
.set('Host', app.fqdn) // required for some apache configs with rewrite rules
.set('User-Agent', 'Mozilla') // required for some apps (e.g. minio)
.redirects(0)
.timeout(HEALTHCHECK_INTERVAL)
.end(function (error, res) {