You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't perform IP rewriting automatically because doing so without an actual proxy is a security risk. Here is a discussion with snippets and projects you could use: elixir-plug/plug#319
Precheck
I am running phoenix behind nginx proxy and setup according to the suggested configuration
as mention in the docs Phoenix behind proxy
Environment
Expected behavior
I have a controller code as below,
Will return current user remote IP address
Actual behavior
Always return
127.0.0.1
every time.The text was updated successfully, but these errors were encountered: