From b34dab8e01e2e7a4c5e85bae40eabe9bd5df4c57 Mon Sep 17 00:00:00 2001 From: Montana Flynn Date: Sun, 26 Apr 2015 16:19:18 -0700 Subject: [PATCH] Make Kong respect target server header --- kong.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kong.yml b/kong.yml index 6ac97851e99f..10bb7291c7a6 100644 --- a/kong.yml +++ b/kong.yml @@ -117,7 +117,8 @@ nginx: | proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass $backend_url; - + proxy_pass_header Server; + # Add additional response headers header_filter_by_lua 'kong.exec_plugins_header_filter()';