How do I get remote IP from ngnix?

Valentin V. Bartenev vbart at
Tue Dec 8 18:34:20 UTC 2020

On Tuesday, 8 December 2020 15:26:19 MSK Александр Поволоцкий wrote:
> Hello
> My application running under nginx+unitd receives address of nginx as 
> remote IP.
> Should I honor X-Real-IP in my app or there is some way to extract real 
> client IP transparently?

Unfortunately, handling it in the application is the only way right now.
But we have in our plans something similar to the realip module from nginx.

  wbr, Valentin V. Bartenev

More information about the unit mailing list