Browse Source

Minor Update On Issue 60

old-stable
Mitesh Shah 11 years ago
parent
commit
4859a500db
  1. 1
      etc/nginx/common/locations.conf
  2. 2
      usr/local/sbin/easyengine

1
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;

2
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
}

Loading…
Cancel
Save