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:
>> 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
>
>
>
> _______________________________________________
> unit mailing list
> unit at nginx.org
> https://mailman.nginx.org/mailman/listinfo/unit
--
Это сообщение проверено на вирусы антивирусом Avast.
https://www.avast.com/antivirus
More information about the unit
mailing list