Skip to content

Commit

Permalink
Set server name for upstream SSL connections
Browse files Browse the repository at this point in the history
Made sure server name for upstream SSL connections match Host header.
  • Loading branch information
konrader authored and konrade committed Apr 18, 2017
1 parent 9e83f10 commit 6b50291
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kong/templates/nginx_kong.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ server {
proxy_pass_header Server;
proxy_pass_header Date;
proxy_pass $upstream_scheme://kong_upstream;
proxy_ssl_name $upstream_host;
header_filter_by_lua_block {
kong.header_filter()
Expand Down

0 comments on commit 6b50291

Please sign in to comment.