From 189c746772bb6061259dec59a61863a4d9059856 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Fri, 11 Apr 2014 16:22:04 +0530 Subject: [PATCH] Minor Changes --- usr/local/sbin/easyengine | 5 ++++- usr/local/sbin/eeupdate | 11 +++++++---- usr/share/easyengine/nginx/22222 | 4 ++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 81b31c0e..004b7088 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -432,7 +432,10 @@ PHP_PACKAGES() if [ ! -d /var/www/22222/htdocs/cache/nginx ] then mkdir -p /var/www/22222/htdocs/cache/nginx || OwnError "Unable To Create Nginx Fastcgi Cleanup Directory" - wget -cqO var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php + + # Downloading Nginx FastCGI Cleanup Script + echo -e "\033[34mDownloading Nginx FastCGI Cleanup Script, Please Wait...\e[0m" + wget -cqO /var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php fi # Opcache Settings diff --git a/usr/local/sbin/eeupdate b/usr/local/sbin/eeupdate index e7c05239..6bfeb58a 100644 --- a/usr/local/sbin/eeupdate +++ b/usr/local/sbin/eeupdate @@ -187,7 +187,10 @@ PHP_PACKAGES() if [ ! -d /var/www/22222/htdocs/cache/nginx ] then mkdir -p /var/www/22222/htdocs/cache/nginx || OwnError "Unable To Create Nginx Fastcgi Cleanup Directory" - wget -cqO var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php + + # Downloading Nginx FastCGI Cleanup Script + echo -e "\033[34mDownloading Nginx FastCGI Cleanup Script, Please Wait...\e[0m" + wget -cqO /var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php fi # Opcache Settings @@ -243,10 +246,10 @@ PHP_PACKAGES() echo -e "" &>> /var/www/22222/htdocs/php/info.php # Fake PHP5-FPM Status Pages - if [ ! -d /var/www/22222/htdocs/php/status/ ] + if [ ! -d /var/www/22222/htdocs/fpm/status/ ] then - mkdir -p /var/www/22222/htdocs/php/status/ || OwnError "Unable To Create webgrind Directory" - touch /var/www/22222/htdocs/php/status/{php,debug} + mkdir -p /var/www/22222/htdocs/fpm/status/ || OwnError "Unable To Create webgrind Directory" + touch /var/www/22222/htdocs/fpm/status/{php,debug} fi # Anemometer Setup diff --git a/usr/share/easyengine/nginx/22222 b/usr/share/easyengine/nginx/22222 index 74f89a47..ce9764c5 100644 --- a/usr/share/easyengine/nginx/22222 +++ b/usr/share/easyengine/nginx/22222 @@ -23,9 +23,9 @@ server { try_files $uri $uri/ /index.php?$args; } - location = /php/status/ {} + location = /fpm/status/ {} - location ~ /php/status/(.*) { + location ~ /fpm/status/(.*) { include fastcgi_params; fastcgi_param SCRIPT_NAME /status; fastcgi_pass $1;