Mitesh Shah
11 years ago
5 changed files with 26 additions and 12 deletions
@ -0,0 +1,14 @@ |
|||||
|
# Setup EasyEngine admin port |
||||
|
|
||||
|
function ee_mod_secure_port() |
||||
|
{ |
||||
|
read -p "EasyEngine admin port [22222]: " ee_port |
||||
|
|
||||
|
# If enter is pressed, set 22222 |
||||
|
if [[ $ee_port = "" ]]; then |
||||
|
ee_port=22222 |
||||
|
fi |
||||
|
|
||||
|
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…
Reference in new issue