Merge branch 'master' into enable-proxy-protocol

This commit is contained in:
Semjon Bibow
2024-10-22 20:57:09 +02:00
236 changed files with 9934 additions and 10582 deletions

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()) {