From ece87f13d475d2f2d1d25ac6d10096e54259d6fa Mon Sep 17 00:00:00 2001 From: "Made I.T" Date: Thu, 2 Mar 2017 13:06:58 +0100 Subject: [PATCH] Fix nginx caching #1012 --- install/ubuntu/15.04/templates/web/nginx/caching.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/ubuntu/15.04/templates/web/nginx/caching.sh b/install/ubuntu/15.04/templates/web/nginx/caching.sh index 6eb9126db..0d535ef99 100755 --- a/install/ubuntu/15.04/templates/web/nginx/caching.sh +++ b/install/ubuntu/15.04/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