Hi,<div><br></div><div>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.</div><div><br></div><div>The location I want to callback to is on the backend. Currently I have the following:</div>
<div><br></div><div><div> location / {</div><div> proxy_pass <a href="http://test">http://test</a>;<br></div><div> post_action /test_post.php;</div><div> }</div><div><br></div><div> location = /test_post.php {</div>
<div> proxy_pass <a href="http://test">http://test</a>;<br></div><div> internal;</div><div> }</div><div><br></div><div>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?</div>
<div><br></div><div>Kind regards,</div></div><div><br clear="all">Paul Bowsher<br>
</div>