diff --git a/install b/install index 2046b4d..7a315f6 100644 --- a/install +++ b/install @@ -425,7 +425,7 @@ wo_upgrade_nginx() { rm -f /tmp/nginx-wo.key sudo apt-get update - CHECK_NGINX_UPSTREAM_VERSION=$(grep "v3.9.5" /etc/nginx/conf.d/fastcgi.conf) + CHECK_NGINX_UPSTREAM_VERSION=$(grep "v3.9.5.1" /etc/nginx/conf.d/fastcgi.conf) if [ -z "$CHECK_NGINX_UPSTREAM_VERSION" ]; then # stop nginx diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index d3e927d..fa56c92 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -375,12 +375,12 @@ class WOStackController(CementBaseController): # So creating directories if not os.path.exists('/etc/nginx/sites-available'): Log.debug(self, 'Creating directory' - '/etc/nginx/sites-available') + '/etc/nginx/sites-available') os.makedirs('/etc/nginx/sites-available') if not os.path.exists('/etc/nginx/sites-enabled'): Log.debug(self, 'Creating directory' - '/etc/nginx/sites-available') + '/etc/nginx/sites-available') os.makedirs('/etc/nginx/sites-enabled') # 22222 port settings diff --git a/wo/cli/templates/fastcgi.mustache b/wo/cli/templates/fastcgi.mustache index be7469a..7300bb0 100644 --- a/wo/cli/templates/fastcgi.mustache +++ b/wo/cli/templates/fastcgi.mustache @@ -1,4 +1,4 @@ -# FastCGI cache settings - WO v3.9.5 +# FastCGI cache settings - WO v3.9.5.1 fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:50m inactive=60m max_size=256M; fastcgi_cache_key "$scheme$request_method$host$request_uri"; fastcgi_cache_use_stale error timeout invalid_header updating http_500 http_503;