diff --git a/src/reverseproxy.js b/src/reverseproxy.js index 82e53cfd1..7567beade 100644 --- a/src/reverseproxy.js +++ b/src/reverseproxy.js @@ -699,6 +699,8 @@ async function checkCerts(options, auditSource, progressCallback) { function removeAppConfigs() { const dashboardConfigFilename = `${settings.dashboardFqdn()}.conf`; + debug('removeAppConfigs: reomving nginx configs of apps'); + // remove all configs which are not the default or current dashboard for (let appConfigFile of fs.readdirSync(paths.NGINX_APPCONFIG_DIR)) { if (appConfigFile !== constants.NGINX_DEFAULT_CONFIG_FILE_NAME && appConfigFile !== dashboardConfigFilename) {