diff --git a/src/reverseproxy.js b/src/reverseproxy.js index 87a9530af..a6c0cf4e0 100644 --- a/src/reverseproxy.js +++ b/src/reverseproxy.js @@ -396,7 +396,7 @@ function configureApp(app, auditSource, callback) { ensureCertificate({ fqdn: fqdn, domain: domain.domain }, auditSource, function (error, bundle) { if (error) return callback(error); - configureAppRedirect(app, domain, bundle, callback); + configureAppRedirect(app, fqdn, bundle, callback); }); }, callback); });