From e3f324196677987a48bfb4bba7fbf4402be326df Mon Sep 17 00:00:00 2001 From: Dennis Schwerdel Date: Wed, 4 Oct 2017 13:05:00 +0200 Subject: [PATCH] Added user agent to health checks --- src/apphealthmonitor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apphealthmonitor.js b/src/apphealthmonitor.js index 6a0411bee..3592eeba5 100644 --- a/src/apphealthmonitor.js +++ b/src/apphealthmonitor.js @@ -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) {