Browse Source

Minor Changes

old-stable
Mitesh Shah 11 years ago
parent
commit
189c746772
  1. 5
      usr/local/sbin/easyengine
  2. 11
      usr/local/sbin/eeupdate
  3. 4
      usr/share/easyengine/nginx/22222

5
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

11
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 "<?php \n\t phpinfo(); \n?>" &>> /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

4
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;

Loading…
Cancel
Save