From bccc83e2fa4b1304f82d87e8fd83a26413219ad2 Mon Sep 17 00:00:00 2001 From: Roger Shieh Date: Wed, 25 May 2022 11:46:24 +0800 Subject: [PATCH] Update run-document-server.sh --- run-document-server.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/run-document-server.sh b/run-document-server.sh index c8dcf39..f414483 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -67,14 +67,6 @@ NGINX_WORKER_PROCESSES=${NGINX_WORKER_PROCESSES:-1} NGINX_WORKER_CONNECTIONS=${NGINX_WORKER_CONNECTIONS:-$(ulimit -n)} JWT_ENABLED=${JWT_ENABLED:-false} - -# validate user's vars before usinig in json -if [ "${JWT_ENABLED}" == "true" ]; then - JWT_ENABLED="true" -else - JWT_ENABLED="false" -fi - JWT_SECRET=${JWT_SECRET:-secret} JWT_HEADER=${JWT_HEADER:-Authorization} JWT_IN_BODY=${JWT_IN_BODY:-false}