Skip to content

Commit

Permalink
Delete host header
Browse files Browse the repository at this point in the history
This fixes a bug here:

slogsdon#2
  • Loading branch information
davidw committed Jun 16, 2017
1 parent eb8cb24 commit bb8aad3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/reverse_proxy/runner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ defmodule ReverseProxy.Runner do
"x-forwarded-for",
conn.remote_ip |> ip_to_string
)
|> Conn.delete_req_header("host")
|> Conn.delete_req_header(
"transfer-encoding"
)
Expand Down

0 comments on commit bb8aad3

Please sign in to comment.