File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ COMMONNGINX()
219219 EEMD5SUM
220220
221221 # White List IP Address
222- sed -i " s/deny.*/$( echo " allow $( w | grep $( echo $SSH_TTY | cut -d' /' -f3,4) | awk ' {print($3)}' ) ;" ) \ndeny all;/" /etc/nginx/common/allowed_ip .conf
222+ sed -i " s/deny.*/$( echo " allow $( w | grep $( echo $SSH_TTY | cut -d' /' -f3,4) | awk ' {print($3)}' ) ;" ) \ndeny all;/" /etc/nginx/common/acl .conf
223223
224224 # Protect EE Locations
225225 HTTPAUTH
@@ -669,7 +669,7 @@ EEINFO()
669669 NGINXKEEPALIVE=$( grep keepalive_timeout /etc/nginx/nginx.conf | cut -d' ' -f2 | cut -d' ;' -f1)
670670 FASTCGITIMEOUT=$( grep fastcgi_read_timeout /etc/nginx/nginx.conf | cut -d' ' -f2 | cut -d' ;' -f1)
671671 CLIENTMAXBODYSIZE=$( grep client_max_body_size /etc/nginx/nginx.conf | cut -d' ' -f2 | cut -d' ;' -f1)
672- NGINXALLOWEDIPADD=$( grep ^allow /etc/nginx/common/allowed_ip .conf | cut -d' ' -f2 | cut -d' ;' -f1 | tr ' \n' ' ' )
672+ NGINXALLOWEDIPADD=$( grep ^allow /etc/nginx/common/acl .conf | cut -d' ' -f2 | cut -d' ;' -f1 | tr ' \n' ' ' )
673673
674674 echo -e " \033[34mNginx ($NGINXVER ) Information:\n\e[0m"
675675 echo -e " \033[34mNginx User:\t\t\t \033[37m$NGINXUSER \e[0m"
You can’t perform that action at this time.
0 commit comments