Plug ForwardedPeer
Very simple plug which reads X-Forwarded-For or Forwarded header according
to rfc7239 and fill conn.remote_ip with the root client ip.
Usage
defmodule MyPlug do
use Plug.Builder
plug PlugForwardedPeer
end| Failed to load latest commit information. | |||
|
|
config | ||
|
|
lib | ||
|
|
test | ||
|
|
.gitignore | ||
|
|
LICENSE | ||
|
|
README.md | ||
|
|
mix.exs | ||
|
|
mix.lock | ||
Very simple plug which reads X-Forwarded-For or Forwarded header according
to rfc7239 and fill conn.remote_ip with the root client ip.
defmodule MyPlug do
use Plug.Builder
plug PlugForwardedPeer
end