Allowing my web server to be aware of retries
Rami Stern
rami.s at taboola.com
Wed Oct 10 09:16:15 UTC 2018
> 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!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20181010/f4159a6e/attachment-0001.html>
More information about the nginx
mailing list