Fire and forget requests

Alexandr Gomoliako zzz at
Tue Aug 30 21:49:06 UTC 2011

On 8/31/11, Guy Knights <guy at> wrote:
> What we want is a fire and forget solution for request handling, where we
> can set up nginx to receive a request from our web servers, pass this
> request on to an external HTTP service or an HTTP backend and send a 200
> response back straight away to the requesting machine, leaving the original
> request to be handled at whatever speed the backend is capable of. We don't
> care about the response from the backend server; this can simply be dropped
> once it's received.
> Is something like the above possible?

I think post_action can help here.
Basically you can respond with a simple static page and set
post_action to forward request to another location afterwards, which
in turn can pass request to the upstream.

More information about the nginx mailing list