Update src/nginxconfig/generators/conf/nginx.conf.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
This commit is contained in:
Faiz Azhar 2020-10-27 21:16:11 +08:00 committed by GitHub
parent 0682218960
commit 30931c4a14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -114,9 +114,7 @@ export default (domains, global) => {
logging.push('$http_cdn_loop');
}
if (logging.length) {
config.http.push(['log_format', `cloudflare '${logging.join(' ')}'`]);
}
config.http.push(['log_format', `cloudflare '${logging.join(' ')}'`]);
}
config.http.push(['# Logging', '']);