File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# Fastcgi Cahe Settings
22
3- fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:500m inactive=60m;
3+ fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:50m inactive=60m;
44fastcgi_cache_key "$scheme$request_method$host$request_uri";
55fastcgi_cache_use_stale error timeout invalid_header updating http_500 http_503;
66fastcgi_cache_valid any 1h;
Original file line number Diff line number Diff line change @@ -158,11 +158,11 @@ then
158158fi
159159
160160# Adjust FastCGI Cache Size 20% Of /var/run
161- VARRUNSIZE=$( df --block-size=M /var/run | awk ' {print $4}' | tail -n1 | cut -d' M' -f1)
162- FCSIZE=$( expr $VARRUNSIZE \* 25 / 100)
161+ # VARRUNSIZE=$(df --block-size=M /var/run | awk '{print $4}' | tail -n1 |cut -d'M' -f1)
162+ # FCSIZE=$(expr $VARRUNSIZE \* 25 / 100)
163163
164164# Change Size
165- sed -i " s/500m/$FCSIZE \m/" /usr/share/easyengine/nginx/conf.d/fastcgi.conf || OwnError " Unable To Change Fastcgi Cache Size"
165+ # sed -i "s/500m/$FCSIZE\m/" /usr/share/easyengine/nginx/conf.d/fastcgi.conf || OwnError "Unable To Change Fastcgi Cache Size"
166166
167167# Git Config Settings
168168EEGITNAME=$( git config user.name)
You can’t perform that action at this time.
0 commit comments