Skip to content

Commit

Permalink
Make Kong respect target server header
Browse files Browse the repository at this point in the history
  • Loading branch information
Montana Flynn committed Apr 26, 2015
1 parent d734b40 commit b34dab8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kong.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()';
Expand Down

0 comments on commit b34dab8

Please sign in to comment.