diff --git a/src/executor/runnersub.js b/src/executor/runnersub.js index bbf045a..3df44c5 100644 --- a/src/executor/runnersub.js +++ b/src/executor/runnersub.js @@ -217,7 +217,7 @@ export async function runConfigSubdomain(config, domaindata, subdomain, sshExec, if (value === nginxInfos.http) { await writeLog("$> http version config is set unchanged"); } else { - nginxInfos.http = value; + nginxInfos.config.http = value; await writeLog("$> Applying nginx http config on " + subdomain); await writeLog(await nginxExec.setDirect(subdomain, nginxInfos)); }