Skip to content

Commit 8ad0aaa

Browse files
authored
Merge pull request #25 from jgiannuzzi/upstream-sni
Use SNI during the TLS handshake with the upstream
2 parents 3e71b6f + cd02851 commit 8ad0aaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nginx.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ echo "Docker configured with HTTPS_PROXY=$scheme://$http_host/"
213213
# Add the authentication info, if the map matched the target domain.
214214
proxy_set_header Authorization $finalAuth;
215215

216+
# Use SNI during the TLS handshake with the upstream.
217+
proxy_ssl_server_name on;
218+
216219
# This comes from a include file generated by the entrypoint.
217220
include /etc/nginx/docker.verify.ssl.conf;
218221

0 commit comments

Comments
 (0)