Is it possible/how can I configure an Nginx location block to proxy to different backends depending on the request method (ie. GET/POST)?
The reason is, I am currently handling the 2 methods at 2 different URLs (one via http proxy and the other via fcgi) and am trying to make it more "REST"ful so, would ideally like the GETting the resource to return the list, while POSTing to the same resource should add to the list.