Use SNI during the TLS handshake with the upstream

pull/25/head
Jonathan Giannuzzi 2019-11-21 10:23:46 +01:00 committed by GitHub
parent 3e71b6fd57
commit cd028516c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -213,6 +213,9 @@ echo "Docker configured with HTTPS_PROXY=$scheme://$http_host/"
# Add the authentication info, if the map matched the target domain.
proxy_set_header Authorization $finalAuth;
# Use SNI during the TLS handshake with the upstream.
proxy_ssl_server_name on;
# This comes from a include file generated by the entrypoint.
include /etc/nginx/docker.verify.ssl.conf;