Welcome! Log In Create A New Profile

Advanced

Re: Nginx and Jboss AS

Gena Makhomed
September 30, 2013 05:16AM
On 28.09.2013 10:36, Sargas wrote:

> еще можно добавить
>
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
> чтобы на бекенде видеть реальный ip юзера

достаточно только первой строчки с установкой X-Real-IP.

модификация X-Forwarded-For может быть нужна в очень редких случаях.

--
Best regards,
Gena

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Nginx and Jboss AS

Vurtatoo September 27, 2013 05:10AM

Re: Nginx and Jboss AS

Роман Москвитин September 27, 2013 06:00AM

Re: Nginx and Jboss AS

Vurtatoo September 28, 2013 03:12AM

Re: Nginx and Jboss AS

Sargas September 28, 2013 03:36AM

Re: Nginx and Jboss AS

Sargas September 28, 2013 03:36AM

Re: Nginx and Jboss AS

Gena Makhomed September 30, 2013 05:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 70
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready