feat(login): use OpenSSL CA store for TLS certificate validation (#11562)

This commit is contained in:
Mridang Agarwalla
2026-02-16 23:25:50 +00:00
committed by GitHub
parent d9df30df20
commit 61756af7f7
10 changed files with 1217 additions and 2 deletions
+4 -1
View File
@@ -10,7 +10,10 @@ COPY --chown=nextjs:nodejs .next/standalone ./
USER nextjs
ENV HOSTNAME="::" \
PORT="3000" \
NODE_ENV="production"
NODE_ENV="production" \
NODE_OPTIONS="--use-openssl-ca" \
SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt" \
SSL_CERT_DIR="/etc/ssl/certs"
# TODO: Check healthy, not ready
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \