Skip to content

Commit 7858c87

Browse files
committed
fix: SSL handshake to backend
1 parent 63ff835 commit 7858c87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nginx.conf.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ http {
4949
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
5050
proxy_set_header X-Forwarded-Proto $scheme;
5151

52+
# SSL/TLS settings for HTTPS upstream
53+
proxy_ssl_server_name on;
54+
proxy_ssl_name ${BACKEND_HOST};
55+
5256
# WebSocket support
5357
proxy_set_header Upgrade $http_upgrade;
5458
proxy_set_header Connection "upgrade";

0 commit comments

Comments
 (0)