Proxying POST method

I posted earlier (copy below). Has no one any experience with proxying
only POST method?
I’m getting an error that proxyPass is not allowed here - inside an if
block. MY current code is:

    if ($request_method = 'POST') {

But that gives config errors. Anyone know how to do this:

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?

Chris :slight_smile: