Post action after client closes connection
lists at ruby-forum.com
Mon May 4 13:21:36 MSD 2009
I think I have found solution :)
rc = ngx_http_subrequest(r, &location, NULL, &sr, NULL, 0);
//location configuration for subrequest
clcfsub = ngx_http_get_module_loc_conf(sr, ngx_http_core_module);
clcfsub->post_action = uri of post action;
Earlier I was setting post_action only for main request and now it is
set also for subrequest, seems to work.
Posted via http://www.ruby-forum.com/.
More information about the nginx