File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,10 @@ PHP_PACKAGES()
432432 if [ ! -d /var/www/22222/htdocs/cache/nginx ]
433433 then
434434 mkdir -p /var/www/22222/htdocs/cache/nginx || OwnError " Unable To Create Nginx Fastcgi Cleanup Directory"
435- wget -cqO var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php
435+
436+ # Downloading Nginx FastCGI Cleanup Script
437+ echo -e " \033[34mDownloading Nginx FastCGI Cleanup Script, Please Wait...\e[0m"
438+ wget -cqO /var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php
436439 fi
437440
438441 # Opcache Settings
Original file line number Diff line number Diff line change @@ -187,7 +187,10 @@ PHP_PACKAGES()
187187 if [ ! -d /var/www/22222/htdocs/cache/nginx ]
188188 then
189189 mkdir -p /var/www/22222/htdocs/cache/nginx || OwnError " Unable To Create Nginx Fastcgi Cleanup Directory"
190- wget -cqO var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php
190+
191+ # Downloading Nginx FastCGI Cleanup Script
192+ echo -e " \033[34mDownloading Nginx FastCGI Cleanup Script, Please Wait...\e[0m"
193+ wget -cqO /var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php
191194 fi
192195
193196 # Opcache Settings
@@ -243,10 +246,10 @@ PHP_PACKAGES()
243246 echo -e " <?php \n\t phpinfo(); \n?>" & >> /var/www/22222/htdocs/php/info.php
244247
245248 # Fake PHP5-FPM Status Pages
246- if [ ! -d /var/www/22222/htdocs/php /status/ ]
249+ if [ ! -d /var/www/22222/htdocs/fpm /status/ ]
247250 then
248- mkdir -p /var/www/22222/htdocs/php /status/ || OwnError " Unable To Create webgrind Directory"
249- touch /var/www/22222/htdocs/php /status/{php,debug}
251+ mkdir -p /var/www/22222/htdocs/fpm /status/ || OwnError " Unable To Create webgrind Directory"
252+ touch /var/www/22222/htdocs/fpm /status/{php,debug}
250253 fi
251254
252255 # Anemometer Setup
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ server {
2323 try_files $uri $uri/ /index.php?$args;
2424 }
2525
26- location = /php /status/ {}
26+ location = /fpm /status/ {}
2727
28- location ~ /php /status/(.*) {
28+ location ~ /fpm /status/(.*) {
2929 include fastcgi_params;
3030 fastcgi_param SCRIPT_NAME /status;
3131 fastcgi_pass $1;
You can’t perform that action at this time.
0 commit comments