Fixup UA for easier detection (other than IP)

This commit is contained in:
Girish Ramakrishnan
2019-07-31 15:43:15 -07:00
parent 31fd3411f7
commit bb48ffb01f
+1 -1
View File
@@ -98,7 +98,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)
.set('User-Agent', 'Mozilla (Cloudron)') // required for some apps (e.g. minio)
.redirects(0)
.timeout(HEALTHCHECK_INTERVAL)
.end(function (error, res) {