fix: revert cdn configuration disabling the access log

pull/399/head
Kobi Meirson 2022-10-19 18:22:55 +03:00
parent dd83c6afb5
commit 1476d2965d
No known key found for this signature in database
GPG Key ID: 5D66F732B037CDE1
1 changed files with 3 additions and 0 deletions

View File

@ -372,6 +372,9 @@ export default (domain, domains, global, ipPortPairs) => {
// HTTPS
cdnConfig.push(...sslConfig(domain, global));
cdnConfig.push(['# disable access_log', '']);
cdnConfig.push(['access_log', 'off']);
// Gzip
if (global.performance.gzipCompression.computed) {
cdnConfig.push(['# gzip', '']);