add feature: set default server

This commit is contained in:
milad nazari
2024-12-22 01:49:05 +03:30
parent 1353937c36
commit 04636b71a9
16 changed files with 428 additions and 302 deletions

View File

@@ -185,7 +185,7 @@ const internalNginx = {
// Prevent modifying the original object:
let host = JSON.parse(JSON.stringify(host_row));
const nice_host_type = internalNginx.getFileFriendlyHostType(host_type);
if (config.debug()) {
logger.info('Generating ' + nice_host_type + ' Config:', JSON.stringify(host, null, 2));
}