Cogini Blog Articles tagged plug

Jake Morrison

Getting the client public IP address in Phoenix

When your app is running behind a proxy like Nginx or a CDN, then the requests will all look like they are coming from the proxy. Use the X-Forwarded-For header to set the remote_ip correctly. Read more…

Categories

Development DevOps Products

Tags