Welcome! Log In Create A New Profile

Advanced

Re: Session Persistence

Sergey A. Osokin
March 02, 2022 11:02AM
Hi Morgan,

hope you're doing well.

On Wed, Mar 02, 2022 at 06:45:15PM +0300, Morgan Kisienya wrote:
> Hi,
>
> We are running nginx opensource with modsecuity. Nginnx is a proxy server.
>
> We are also running an application, (which we proxy using nginx) that
> creates reports and downloads images.
>
> We are facing an issue with nginx session persistence.
>
> During report creation, not all images are downloaded to the report. When
> the page is refreshed, other images different from the initial ones are
> displayed.
>
> Nginx access.log shows the following
>
> GET /prod/reportImage?rnd=1661411659&image=img_0_0_5 HTTP/1.1" 500 1692
>
> Modscurity log shows the following

[...]

The hash-based [1] session persistence supported by the NGINX OSS, NGINX Plus
supports cookie-based session persistence, including sticky cookie [2],
https://www.nginx.com/products/nginx/load-balancing/#session-persistence

References:
[1] http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash
[2] http://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky

--
Sergey A. Osokin
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Session Persistence

Morgan Kisienya March 02, 2022 10:48AM

Re: Session Persistence

Sergey A. Osokin March 02, 2022 11:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready