fixed sed mistakes

This commit is contained in:
Mathew Burnett 2022-11-12 12:18:39 +00:00
parent e61c5d1baa
commit b5734b175c
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
server { server {
listen 80 reuseport; 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; error_log /data/logs/error.log;
include /etc/nginx/sites-available/cache.conf.d/*.conf; include /etc/nginx/sites-available/cache.conf.d/*.conf;

View file

@ -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/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/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/${UPSTREAM_DNS}/" /etc/nginx/stream-available/10_sni.conf
sed -i "s/UPSTREAM_DNS/${LOG_PARAMS}/" /etc/nginx/sites-available/10_cache.conf sed -i "s/LOG_PARAMS/${LOG_PARAMS}/" /etc/nginx/sites-available/10_cache.conf