Commit 8be249ac by Bilal

adding case where is null

parent de1808c4
......@@ -219,7 +219,6 @@ if [[ $basic_auth == "true" ]]; then
COMMON_ENABLE_BASIC_AUTH: True
COMMON_HTPASSWD_USER: $auth_user
COMMON_HTPASSWD_PASS: $auth_pass
NGINX_USERS: $nginx_users
XQUEUE_BASIC_AUTH_USER: $auth_user
XQUEUE_BASIC_AUTH_PASSWORD: $auth_pass
EOF_AUTH
......@@ -231,6 +230,12 @@ EOF_AUTH
fi
if [[ -n $nginx_users ]]; then
cat << EOF_AUTH >> $extra_vars_file
NGINX_USERS: $nginx_users
EOF_AUTH
fi
if [[ $enable_client_profiling == "true" ]]; then
cat << EOF_PROFILING >> $extra_vars_file
EDXAPP_SESSION_SAVE_EVERY_REQUEST: True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment