Merge pull request #25 from jgiannuzzi/upstream-sni

Use SNI during the TLS handshake with the upstream
pull/28/head
Ricardo Pardini 2019-11-21 19:04:40 +01:00 committed by GitHub
commit 8ad0aaa25e
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;