[Solved]-How to pass the remote IP to a proxied service? – Nginx

20👍

I send the real IP to django by setting a custom header:

proxy_set_header X-Real-IP $remote_addr;

Those headers are available in request.META

3👍

👤tmc

Leave a comment