From 5d7949081a99a00eda557b58f04ab5506d946eb1 Mon Sep 17 00:00:00 2001 From: "dave@tiredofit.ca" Date: Wed, 26 Apr 2023 14:32:10 -0700 Subject: [PATCH] Release 6.3.0 - See CHANGELOG.md --- CHANGELOG.md | 6 ++++++ install/assets/functions/10-nginx | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aee9538..05fc9fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 6.3.0 2023-04-26 + + ### Added + - Add support for _FILE environment variables + + ## 6.2.22 2023-04-11 ### Added diff --git a/install/assets/functions/10-nginx b/install/assets/functions/10-nginx index bfb4899..f820892 100755 --- a/install/assets/functions/10-nginx +++ b/install/assets/functions/10-nginx @@ -15,7 +15,7 @@ nginx_configure_authentication() { print_notice "Setting Basic Authentication" user_num=$(printenv | sort | grep -c 'NGINX_AUTHENTICATION_BASIC_USER.*') for ((i = 1; i <= user_num; i++)); do - transform_var \ + transform_file_var \ NGINX_AUTHENTICATION_BASIC_USER${i} NGINX_AUTHENTICATION_BASIC_PASS${i} basic_user=NGINX_AUTHENTICATION_BASIC_USER${i} @@ -25,7 +25,7 @@ nginx_configure_authentication() { done ;; "ldap" ) - transform_var \ + transform_file_var \ NGINX_AUTHENTICATION_LDAP_HOST \ NGINX_AUTHENTICATION_LDAP_PORT \ NGINX_AUTHENTICATION_LDAP_BASE_DN \ @@ -50,7 +50,7 @@ EOF if var_true "${NGINX_ENABLE_UPSTREAM_KEEPALIVE}" ; then upstream_keepalive="keepalive ${NGINX_UPSTREAM_KEEPALIVE};" fi - transform_var \ + transform_file_var \ NGINX_AUTHENTICATION_LLNG_HANDLER_HOST \ NGINX_AUTHENTICATION_LLNG_HANDLER_PORT llng_upstream_hosts=$(echo "${NGINX_AUTHENTICATION_LLNG_HANDLER_HOST}" | tr "," "\n")