fix: lint
parent
8e2d5436f7
commit
dd83c6afb5
|
@ -110,7 +110,7 @@ export default (domains, global) => {
|
||||||
if (global.logging.accessLog.computed) {
|
if (global.logging.accessLog.computed) {
|
||||||
config.http.push(['access_log', global.logging.accessLogPath.computed.trim() +
|
config.http.push(['access_log', global.logging.accessLogPath.computed.trim() +
|
||||||
(global.logging.cloudflare.computed ? ' cloudflare' : '') +
|
(global.logging.cloudflare.computed ? ' cloudflare' : '') +
|
||||||
(global.logging.accessLogArguments.computed ? ` ${global.logging.accessLogArguments.computed.trim()}` : '')
|
(global.logging.accessLogArguments.computed ? ` ${global.logging.accessLogArguments.computed.trim()}` : ''),
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
config.http.push(['access_log', 'off']);
|
config.http.push(['access_log', 'off']);
|
||||||
|
|
|
@ -228,7 +228,7 @@ export default (domain, domains, global, ipPortPairs) => {
|
||||||
serverConfig.push(['access_log',
|
serverConfig.push(['access_log',
|
||||||
getAccessLogDomainPath(domain, global) +
|
getAccessLogDomainPath(domain, global) +
|
||||||
(global.logging.cloudflare.computed ? ' cloudflare' : '') +
|
(global.logging.cloudflare.computed ? ' cloudflare' : '') +
|
||||||
(global.logging.accessLogArguments.computed ? ` ${global.logging.accessLogArguments.computed.trim()}`: '')
|
(global.logging.accessLogArguments.computed ? ` ${global.logging.accessLogArguments.computed.trim()}`: ''),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (domain.logging.errorLog.computed)
|
if (domain.logging.errorLog.computed)
|
||||||
|
|
|
@ -307,7 +307,7 @@ THE SOFTWARE.
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deep: true,
|
deep: true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue