Skip to content

Commit 3624168

Browse files
committed
Adjust upgrade text for nginx fcgi.
1 parent 57d70a5 commit 3624168

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

install/upgrade/versions/1.3.3.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,9 @@
88

99
# Allow Fast CGI Cache to be enabled for Nginx Standalone
1010
if [ -e "/etc/nginx/nginx.conf" ]; then
11-
echo "[*] Update Nginx to support fast cgi cache"
12-
1311
check=$(cat /etc/nginx/nginx.conf | grep 'fastcgi_cache_path');
1412
if [ -z "$check" ]; then
15-
echo ' [*] Install fast cgi cache support'
16-
13+
echo "[ * ] Updating Nginx to support fast cgi cache..."
1714
sed -i 's/# Cache bypass/# FastCGI Cache settings\n fastcgi_cache_path \/var\/cache\/nginx\/php-fpm levels=2\n keys_zone=fcgi_cache:10m inactive=60m max_size=1024m;\n fastcgi_cache_key \"$host$request_uri $cookie_user\";\n fastcgi_temp_path \/var\/cache\/nginx\/temp;\n fastcgi_ignore_headers Expires Cache-Control;\n fastcgi_cache_use_stale error timeout invalid_header;\n fastcgi_cache_valid any 1d;\n\n # Cache bypass/g' /etc/nginx/nginx.conf
18-
19-
else
20-
echo ' [!] fastcgi_cache_path found skipping install of fast cgi cache support!'
2115
fi
2216
fi

0 commit comments

Comments
 (0)