The original post: /r/nginx by /u/Skywrathx9 on 2024-12-03 20:53:28.

If anyone can chime in feel free, I’m looking for a yes(and how)/no answer.

I have a piece of software that communicates with its backend through three communication channels.

  1. A layer 7 connection that uses TLS for encryption and makes requests towards an FQDN

  2. Also layer 7 aimed at an FQDN but is done over WSS (web sockets)

  3. This is the problematic one as this one happens on Layer 4 and is an encrypted pure socket connection (not web sockets).

I’m being told to be able to proxy this software’s connection I would need to use 3 hosts, one for each channel.

Does NGINX have the ability to handle all 3 on a single host (or maybe even 2 just to reduce the number of hosts running the proxy) through a configuration I’m not aware is possible?