Forwarding Requests to Multiple Upstream Servers?

Almir Karic almir at kiberpipa.org
Wed Jul 9 13:51:59 MSD 2008


On Wed, Jul 09, 2008 at 11:08:58AM +0200, Tit Petric wrote:
> Does nginx support forwarding specific request types (POST request only  
> for example), to a specific backend?

yes

if ($request_method = POST) {
	proxy_pass http://my_post_backend;
	break;
}






More information about the nginx mailing list