We have a service which listens on a TCP socket for a non-HTTP request. We'd like to put an HTTP reverse proxy in front of it such that the body of the HTTP request is forwarded as the entire request to the TCP socket.
We've looked at doing this with nginx, but while it can easily reverse proxy TCP -> TCP
& HTTP -> HTTP
, we haven't come across any way to do HTTP -> TCP
. Is there any "out-of-the-box" reverse proxy software that will do this for us, or do we need to build something custom?