diff --git a/etc/nginx/common/locations.conf b/etc/nginx/common/locations.conf index f3248f5b..ba53d020 100644 --- a/etc/nginx/common/locations.conf +++ b/etc/nginx/common/locations.conf @@ -26,7 +26,6 @@ location /ee/ { autoindex on; alias /var/www/shared/; satisfy any; - include common/allowed_ip.conf; auth_basic "Restricted Area"; auth_basic_user_file htpasswd-ee; include common/allowed_ip.conf; diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 55adaf4d..262b6aa7 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -199,7 +199,7 @@ COMMONNGINX() fi # Generate htpasswd-ee file - printf "$HTPASSWDUSER:$(openssl passwd -crypt $HTPASSWDPASS)\n" > /etc/nginx/htpasswd-ee + printf "$HTPASSWDUSER:$(openssl passwd -crypt $HTPASSWDPASS 2> /dev/null)\n" > /etc/nginx/htpasswd-ee 2> /dev/null }