If data is a tcp stream use stream, if not then a http {} block should
work.
https://forum.nginx.org/read.php?2,14903,35128#msg-35128
http://windowsitpro.com/exchange-server-2013/exchange-server-2013-transition-rpc-http
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264518,264522#msg-264522