justest commited on
Commit
9185003
·
1 Parent(s): 0604cb0

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +4 -1
start_server.sh CHANGED
@@ -6,7 +6,10 @@ NGX_NAME="${NGX_NAME:-admin}"
6
  NGX_PASS="${NGX_PASS:-admin}"
7
  CRYPTPASS=`openssl passwd -crypt ${NGX_PASS}`
8
 
9
- echo "${NGX_NAME}:${CRYPTPASS}" >> ngpasswd
 
 
 
10
  nginx -c $PWD/nginx.conf
11
 
12
  set +e
 
6
  NGX_PASS="${NGX_PASS:-admin}"
7
  CRYPTPASS=`openssl passwd -crypt ${NGX_PASS}`
8
 
9
+ echo "USERNAME" $NGX_NAME
10
+ echo "PASSWORD" $NGX_PASS
11
+
12
+ echo "${NGX_NAME}:${CRYPTPASS}" > ngpasswd
13
  nginx -c $PWD/nginx.conf
14
 
15
  set +e