Update src/nginxconfig/generators/conf/nginx.conf.js
Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
This commit is contained in:
parent
0682218960
commit
30931c4a14
|
@ -114,9 +114,7 @@ export default (domains, global) => {
|
||||||
logging.push('$http_cdn_loop');
|
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', '']);
|
config.http.push(['# Logging', '']);
|
||||||
|
|
Loading…
Reference in New Issue