add debug
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user