Made I.T 9 лет назад
Родитель
Сommit
fadbc2710e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      install/ubuntu/16.10/templates/web/nginx/caching.sh

+ 1 - 0
install/ubuntu/16.10/templates/web/nginx/caching.sh

@@ -10,3 +10,4 @@ str="proxy_cache_path /var/cache/nginx/$domain levels=2"
 str="$str keys_zone=$domain:10m inactive=60m max_size=512m;"
 echo "$str" >> /etc/nginx/conf.d/01_caching_pool.conf
 
+sort -u /etc/nginx/conf.d/01_caching_pool.conf -o /etc/nginx/conf.d/01_caching_pool.conf