We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e334204 commit 22d1b8bCopy full SHA for 22d1b8b
1 file changed
install/deb/templates/web/nginx/caching.sh
@@ -6,8 +6,8 @@ ip=$3
6
home=$4
7
docroot=$5
8
9
-str="proxy_cache_path /var/cache/nginx/$domain levels=2"
10
-str="$str keys_zone=$domain:10m inactive=60m max_size=512m;"
+str="proxy_cache_path /var/cache/nginx/$domain levels=1:2"
+str="$str keys_zone=$domain:10m max_size=256m inactive=30m;"
11
conf='/etc/nginx/conf.d/01_caching_pool.conf'
12
if [ -e "$conf" ]; then
13
if [ -z "$(grep "=${domain}:" $conf)" ]; then
0 commit comments