Skip to content

Commit 8366ab8

Browse files
committed
Enable SNI extensions by default
Signed-off-by: Elijah Zupancic <[email protected]>
1 parent bdbd99a commit 8366ab8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

common/etc/nginx/templates/default.conf.template

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ server {
9090
# with S3 at all.
9191
proxy_pass_request_headers off;
9292

93+
# Enable passing of the server name through TLS Server Name Indication extension.
94+
proxy_ssl_server_name on;
95+
9396
# Set the Authorization header to the AWS Signatures credentials
9497
proxy_set_header Authorization $s3auth;
9598
proxy_set_header X-Amz-Security-Token $s3SecurityToken;
@@ -129,6 +132,9 @@ server {
129132
# with S3 at all.
130133
proxy_pass_request_headers off;
131134

135+
# Enable passing of the server name through TLS Server Name Indication extension.
136+
proxy_ssl_server_name on;
137+
132138
# Set the Authorization header to the AWS Signatures credentials
133139
proxy_set_header Authorization $s3auth;
134140
proxy_set_header X-Amz-Security-Token $s3SecurityToken;

0 commit comments

Comments
 (0)