@ -6,6 +6,7 @@ function ee_mod_secure_auth()
read -p "Provide HTTP authentication user name [easyengine]: " ee_http_auth_user
read -sp "Provide HTTP authentication password [easyengine]: " ee_http_auth_pass
echo
# If enter is pressed, set easyengine
if [[ $ee_http_auth_user = "" ]]; then
@ -9,6 +9,6 @@ function ee_mod_secure_port()
ee_port=22222
fi
sed -i "s/listen 22222/listen $ee_port" /etc/nginx/sites-available/22222 \
sed -i "s/listen 22222/listen $ee_port/" /etc/nginx/sites-available/22222 \
|| ee_lib_error "Unable to change EasyEngine admin port, exit status = " $?
}