post_action to a backend server
Paul Bowsher
paul.bowsher at gmail.com
Sat Jan 24 22:19:10 MSK 2009
Hi,
I am currently using nginx on frontend to proxy all requests to an apache
backend. I want to use post_action to callback upon completion of a request.
The location I want to callback to is on the backend. Currently I have the
following:
location / {
proxy_pass http://test;
post_action /test_post.php;
}
location = /test_post.php {
proxy_pass http://test;
internal;
}
Normal proxying works fine, but nginx does not appear to ever make the
callback to test_post.php. Removing the test_post.php location results in a
Redirect cycle error in my log. Does anyone know how to resolve this?
Kind regards,
Paul Bowsher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090124/dd20a5fd/attachment.html>
More information about the nginx
mailing list