How do I get remote IP from ngnix?
tarkhil at over.ru
Tue Dec 8 19:51:26 UTC 2020
Just got it by grepping sources ;) Ok, I'm writing my app, not using it,
so that's not a big problem, just one command and two lines of code.
On 08.12.2020 21:34, Valentin V. Bartenev wrote:
> On Tuesday, 8 December 2020 15:26:19 MSK Александр Поволоцкий wrote:
>> 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
> unit mailing list
> unit at nginx.org
Это сообщение проверено на вирусы антивирусом Avast.
More information about the unit