app.fqdn already takes care of altDomain

This commit is contained in:
Johannes Zellner
2017-01-17 16:01:10 +01:00
parent 3e83f3d4ee
commit eaac13b1c1
+1 -1
View File
@@ -93,7 +93,7 @@ function checkAppHealth(app, callback) {
var healthCheckUrl = 'http://127.0.0.1:' + app.httpPort + manifest.healthCheckPath;
superagent
.get(healthCheckUrl)
.set('Host', app.altDomain || config.appFqdn(app.location)) // required for some apache configs with rewrite rules
.set('Host', app.fqdn) // required for some apache configs with rewrite rules
.redirects(0)
.timeout(HEALTHCHECK_INTERVAL)
.end(function (error, res) {