5 messages in ru.sysoev.nginxpost_action to a backend server
FromSent OnAttachments
Paul BowsherJan 24, 2009 11:18 am 
Maxim DouninJan 25, 2009 4:00 am 
Paul BowsherJan 25, 2009 4:21 am 
Paul BowsherJan 25, 2009 4:31 am 
Rob MuellerJan 26, 2009 6:02 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:post_action to a backend serverActions...
From:Paul Bowsher (paul@gmail.com)
Date:Jan 24, 2009 11:18:47 am
List:ru.sysoev.nginx

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,