Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix:Nginx template not replace env correctly (#15651)
LiuBodongcee87313933c
diff --git a/docker/nginx/docker-entrypoint.sh b/docker/nginx/docker-entrypoint.shindex d343cb3efaf..8e1110ffa9a 100755--- a/docker/nginx/docker-entrypoint.sh+++ b/docker/nginx/docker-entrypoint.sh@@ -1,5 +1,7 @@#!/bin/bash+HTTPS_CONFIG=''+if [ "${NGINX_HTTPS_ENABLED}" = "true" ]; then# Check if the certificate and key files for the specified domain existif [ -n "${CERTBOT_DOMAIN}" ] && \@@ -20,6 +22,7 @@ if [ "${NGINX_HTTPS_ENABLED}" = "true" ]; then# Substitute the HTTPS_CONFIG in the default.conf.template with content from https.conf.templateenvsubst '${HTTPS_CONFIG}' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conffi+export HTTPS_CONFIGif [ "${NGINX_ENABLE_CERTBOT_CHALLENGE}" = "true" ]; thenACME_CHALLENGE_LOCATION='location /.well-known/acme-challenge/ { root /var/www/html; }'@@ -33,7 +36,7 @@ env_vars=$(printenv | cut -d= -f1 | sed 's/^/$/g' | paste -sd, -)envsubst "$env_vars" < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.confenvsubst "$env_vars" < /etc/nginx/proxy.conf.template > /etc/nginx/proxy.conf-envsubst < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf+envsubst "$env_vars" < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf# Start Nginx using the default entrypointexec nginx -g 'daemon off;'\ No newline at end of file