File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ chown root:$user $fastcgi
8181chmod 640 $fastcgi
8282
8383str=" fastcgi_cache_path /var/cache/nginx/micro/$domain levels=1:2"
84- str=" $str keys_zone=$domain :10m max_size=512m inactive=30m;"
84+ str=" $str keys_zone=$domain :10m max_size=512m inactive=30m use_temp_path=off ;"
8585conf=' /etc/nginx/conf.d/fastcgi_cache_pool.conf'
8686if [ -f " $conf " ]; then
8787 if [ -z " $( grep " =${domain} :" $conf ) " ]; then
Original file line number Diff line number Diff line change 77docroot=$5
88
99str=" proxy_cache_path /var/cache/nginx/$domain levels=1:2"
10- str=" $str keys_zone=$domain :10m max_size=256m inactive=30m;"
10+ str=" $str keys_zone=$domain :10m max_size=256m inactive=30m use_temp_path=off ;"
1111conf=' /etc/nginx/conf.d/01_caching_pool.conf'
1212if [ -e " $conf " ]; then
1313 if [ -n " $( grep " =${domain} :" $conf ) " ]; then
Original file line number Diff line number Diff line change 77docroot=$5
88
99str=" proxy_cache_path /var/cache/nginx/$domain levels=2"
10- str=" $str keys_zone=$domain :10m inactive=60m max_size=512m;"
10+ str=" $str keys_zone=$domain :10m inactive=60m max_size=512m use_temp_path=off ;"
1111conf=' /etc/nginx/conf.d/01_caching_pool.conf'
1212if [ -e " $conf " ]; then
1313 if [ -z " $( grep " =${domain} :" $conf ) " ]; then
You can’t perform that action at this time.
0 commit comments