Update start_server.sh
Browse files- start_server.sh +1 -1
start_server.sh
CHANGED
|
@@ -4,7 +4,7 @@ commit=$(cat /app/openvscode-server/product.json | awk '/commit/{print $4;exit}'
|
|
| 4 |
sed -i "s/#commit#/$commit/" nginx.conf
|
| 5 |
NGX_NAME="${NGX_NAME:-admin}"
|
| 6 |
NGX_PASS="${NGX_PASS:-admin}"
|
| 7 |
-
CRYPTPASS=`openssl passwd -
|
| 8 |
|
| 9 |
echo "USERNAME" $NGX_NAME
|
| 10 |
echo "PASSWORD" $NGX_PASS
|
|
|
|
| 4 |
sed -i "s/#commit#/$commit/" nginx.conf
|
| 5 |
NGX_NAME="${NGX_NAME:-admin}"
|
| 6 |
NGX_PASS="${NGX_PASS:-admin}"
|
| 7 |
+
CRYPTPASS=`openssl passwd -apr1 ${NGX_PASS}`
|
| 8 |
|
| 9 |
echo "USERNAME" $NGX_NAME
|
| 10 |
echo "PASSWORD" $NGX_PASS
|