Configuring Nginx OS to perform advanced web proxy function

Hello,

I am certainly a newbie at Nginx. We have a need to implement a web
proxy which performs the following functions:

  1.  Receive HTTPS SOAP transactions from 40 other source servers and 
    

receive those on ports in the range 56000-56100

  1.  The port number will be mapped to a specific destination server 
    

(100 destinations)

  1.  The SSL transaction should be decrypted and the HTTP header 
    

edited to alter the hostname (and remove port specifier)

  1.  Pass on the SOAP transaction via SSL to the destination server 
    

selected by the port number, with NATing for the source IP port.

  1.  Receive the return messages and reverse the process with them 
    

back to the originating source server.

I am told by Nginx support this can be readily done with Nginx. If
anyone can provide pointers, suggestions or other help, it would be
greatly appreciated.

Kevin B. | Senior Systems Engineer

Frontline Technologies | 200 West Monroe, Chicago, IL 60606 | p:
484.328.4110 |
[email protected]mailto:[email protected]
| www.FrontlineTechnologies.comhttp://www.frontlinetechnologies.com/

This email may contain information that is confidential or
attorney-client privileged and may constitute inside information. The
contents of this email are intended only for the recipient(s) listed
above. If you are not the intended recipient, you are directed not to
read, disclose, distribute or otherwise use this transmission. If you
have received this email in error, please notify the sender immediately
and delete the transmission. Delivery of this message is not intended to
waive any applicable privileges.

On Jun 6, 2016, at 06:46, Kevin B. [email protected] wrote:

Hello,

I am certainly a newbie at Nginx. We have a need to implement a web proxy which
performs the following functions:

I am told by Nginx support this can be readily done with Nginx. If anyone can
provide pointers, suggestions or other help, it would be greatly appreciated.

Have you tried looking through any of the documentation or existing
literature to build your config?

https://nginx.org/en/docs/

If you have a specific problem or are running into undocumented issues a
public forum may be able to help, but I don’t think spoon feeding will
help. Sounds like you essentially want a reverse proxy.
Module ngx_http_proxy_module may be a good
place to start.