@ -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;
@ -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
}