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