Skip to content

Commit 9e87ff6

Browse files
committed
Add SSL bypass for production runtime environment
- Add NODE_TLS_REJECT_UNAUTHORIZED=0 to runtime Docker image - This fixes 'self-signed certificate in certificate chain' error in production - Allows Prisma client to connect to RDS from production containers The Prisma client file issue is now resolved, this addresses the SSL issue.
1 parent e9940ce commit 9e87ff6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/web/buildspec.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ phases:
7373
ENV NEXT_TELEMETRY_DISABLED=1
7474
ENV PORT=3000
7575
ENV HOSTNAME="0.0.0.0"
76+
ENV NODE_TLS_REJECT_UNAUTHORIZED=0
7677
7778
# Copy the complete standalone build from CodeBuild
7879
COPY .next/standalone ./

0 commit comments

Comments
 (0)