<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">I posted earlier (copy
below). Has no one any experience with proxying only POST method?<br>
I'm getting an error that proxyPass is not allowed here - inside an if
block. MY current code is:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ($request_method = 'POST') {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_pass <a class="moz-txt-link-freetext" href="http://tx.indiephotographer.com">http://tx.indiephotographer.com</a>;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
<br>
&nbsp;But that gives config errors. Anyone know how to do this:<br>
<br>
</font><font face="Helvetica, Arial, sans-serif">I have two servers and
want to confine database updates to one of them.
My code is clean in the sense all updates happen through POST requests
only. Is this the way to proxy or relay on the POST updates to the
server that handles data writes?<br>
<br>
Thanks,<br>
Chris :)<br>
</font>
</body>
</html>