Skip to content

Commit c4212df

Browse files
committed
Set proxy_ssl_name to S3_SERVER to allow SNI to work
Signed-off-by: Elijah Zupancic <[email protected]>
1 parent 1828f68 commit c4212df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ server {
107107

108108
# Enable passing of the server name through TLS Server Name Indication extension.
109109
proxy_ssl_server_name on;
110+
proxy_ssl_name ${S3_SERVER};
110111

111112
# Set the Authorization header to the AWS Signatures credentials
112113
proxy_set_header Authorization $s3auth;
@@ -153,6 +154,7 @@ server {
153154

154155
# Enable passing of the server name through TLS Server Name Indication extension.
155156
proxy_ssl_server_name on;
157+
proxy_ssl_name ${S3_SERVER};
156158

157159
# Set the Authorization header to the AWS Signatures credentials
158160
proxy_set_header Authorization $s3auth;

0 commit comments

Comments
 (0)