Fix getting remote IP behind reverse proxy

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-08-27 15:42:09 +02:00
parent 9b0b753064
commit 7c0b813dce
5 changed files with 18 additions and 3 deletions

View File

@@ -134,6 +134,7 @@ defmodule Mobilizon.Mixfile do
{:tesla, "~> 1.3.0"},
{:sitemapper, "~> 0.4.0"},
{:xml_builder, "~> 2.1.1", override: true},
{:remote_ip, "~> 0.2.0"},
# Dev and test dependencies
{:phoenix_live_reload, "~> 1.2", only: [:dev, :e2e]},
{:ex_machina, "~> 2.3", only: [:dev, :test]},