From 5ccc917d1b8485e9c905b4527208fe042b21bc7c Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 17 Oct 2019 00:41:15 -0600 Subject: [PATCH] fix wrong comparison operator on HSTS check --- build/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/entrypoint.sh b/build/entrypoint.sh index afbd4e2..eb902fb 100644 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -11,7 +11,7 @@ sed -i -e "s%%${SERVER_NAMES}%" /etc/nginx/server_names.conf printf "done\n" # activate HSTS -if [ "$HSTS" -eq TRUE ]; then +if [ "$HSTS" = TRUE ]; then printf "Activating HSTS configuration... " sed -i -e "s/^#add_header/add_header/" \ /etc/nginx/config/mozIntermediate_ssl.conf.disabled