Merge branch 'master' into proxyprotocol

This commit is contained in:
2024-10-27 13:30:08 +01:00
200 changed files with 8997 additions and 6083 deletions
+3 -1
View File
@@ -182,7 +182,9 @@ const internalNginx = {
* @param {Object} host
* @returns {Promise}
*/
generateConfig: (host_type, host) => {
generateConfig: (host_type, host_row) => {
// Prevent modifying the original object:
let host = JSON.parse(JSON.stringify(host_row));
const nice_host_type = internalNginx.getFileFriendlyHostType(host_type);
if (config.debug()) {