forked from kbrw/plug_forwarded_peer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
28 lines (25 loc) · 777 Bytes
/
mix.exs
File metadata and controls
28 lines (25 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
defmodule PlugForwardedPeer.Mixfile do
use Mix.Project
def project do
[app: :plug_forwarded_peer,
version: "0.1.0",
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: """
Very simple plug which reads `X-Forwarded-For` or `Forwarded` header according
to rfc7239 and fill `conn.remote_ip` with the root client ip.
""",
package: [links: %{"Source"=>"http://github.com/awetzel/plug_forwarded_peer"},
contributors: ["Arnaud Wetzel"],
licenses: ["MIT"],
files: ["lib", "mix.exs", "README*", "LICENSE*"]],
deps: deps()]
end
def application do
[applications: [:plug]]
end
defp deps do
[{:plug, "~> 1.0"}]
end
end