diff --git a/overlay/etc/nginx/sites-available/10_cache.conf b/overlay/etc/nginx/sites-available/10_cache.conf index 8f9bbf7..3db7e51 100644 --- a/overlay/etc/nginx/sites-available/10_cache.conf +++ b/overlay/etc/nginx/sites-available/10_cache.conf @@ -3,7 +3,7 @@ server { listen 80 reuseport; - access_log /data/logs/access.log cachelog $LOG_PARAMS; + access_log /data/logs/access.log cachelog LOG_PARAMS; error_log /data/logs/error.log; include /etc/nginx/sites-available/cache.conf.d/*.conf; diff --git a/overlay/hooks/entrypoint-pre.d/10_setup.sh b/overlay/hooks/entrypoint-pre.d/10_setup.sh index 0cfab07..182c407 100644 --- a/overlay/hooks/entrypoint-pre.d/10_setup.sh +++ b/overlay/hooks/entrypoint-pre.d/10_setup.sh @@ -19,4 +19,4 @@ sed -i "s/slice 1m;/slice ${CACHE_SLICE_SIZE};/" /etc/nginx/sites-available/cach sed -i "s/UPSTREAM_DNS/${UPSTREAM_DNS}/" /etc/nginx/sites-available/cache.conf.d/10_root.conf sed -i "s/UPSTREAM_DNS/${UPSTREAM_DNS}/" /etc/nginx/sites-available/upstream.conf.d/10_resolver.conf sed -i "s/UPSTREAM_DNS/${UPSTREAM_DNS}/" /etc/nginx/stream-available/10_sni.conf -sed -i "s/UPSTREAM_DNS/${LOG_PARAMS}/" /etc/nginx/sites-available/10_cache.conf \ No newline at end of file +sed -i "s/LOG_PARAMS/${LOG_PARAMS}/" /etc/nginx/sites-available/10_cache.conf \ No newline at end of file