Browse Source

Minor fix

old-stable
Mitesh Shah 11 years ago
parent
commit
1abaacf33c
  1. 1
      src/modules/secure/ee_mod_secure_auth.sh
  2. 2
      src/modules/secure/ee_mod_secure_port.sh

1
src/modules/secure/ee_mod_secure_auth.sh

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

2
src/modules/secure/ee_mod_secure_port.sh

@ -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 = " $?
}

Loading…
Cancel
Save