Browse Source

Fix Display Commented Allowed IP

old-stable
Mitesh Shah 12 years ago
parent
commit
d719f12514
  1. 2
      usr/local/sbin/easyengine

2
usr/local/sbin/easyengine

@ -485,7 +485,7 @@ SERVERINFO()
NGINXCONNECTIONS=$(cat /etc/nginx/nginx.conf | grep worker_connections | cut -d' ' -f2 | cut -d';' -f1)
FASTCGITIMEOUT=$(cat /etc/nginx/nginx.conf | grep fastcgi_read_timeout | cut -d' ' -f2 | cut -d';' -f1)
CLIENTMAXBODYSIZE=$(cat /etc/nginx/nginx.conf | grep client_max_body_size | cut -d' ' -f2 | cut -d';' -f1)
NGINXALLOWEDIPADD=$(grep allow /etc/nginx/common/allowed_ip.conf | cut -d' ' -f2 | cut -d';' -f1 | tr '\n' ' ')
NGINXALLOWEDIPADD=$(grep ^allow /etc/nginx/common/allowed_ip.conf | cut -d' ' -f2 | cut -d';' -f1 | tr '\n' ' ')
echo -e "\033[34m Nginx ($NGINXVER) Information:\n \e[0m"
echo -e "\033[34m Nginx User:\t\t\t \033[37m $NGINXUSER \e[0m"

Loading…
Cancel
Save