Welcome! Log In Create A New Profile

Advanced

Allowing my web server to be aware of retries

Rami Stern via nginx
October 10, 2018 05:18AM
> We use nginx's retry mechanism on timeout and errors, but we'd like to
> have some way (custom header \ url param) to make our web server know that
> the request its handling is actually a retry.
>
> We've tried adding $proxy_add_x_forwarded_for and $upstrea_addr but the
> first didn't return the correct IP and the second was always empty.
> We've also tried using $request_time as a way to heuristically guess if
> this is a retry but it seems to be calculated once before the first request
> and reused on the following retries.
>
> Is it possible?
>
> We've nginx plus license if there's a feature we can use there for that.
>
> Thanks!
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Allowing my web server to be aware of retries

Rami Stern via nginx October 10, 2018 05:18AM

Re: Allowing my web server to be aware of retries

Maxim Dounin October 10, 2018 11:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
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