Nginx: proxy forwarding other ports than 80 (e.g. 22)
Need some help:
Is it possible to use nginx as proxy forwarding for NAT vps, to other ports than 80? For example, is it possible to configure in sites-enabled, a route that listens to port 22 for specific domain (e.g. example.com) and forwards it to an internal ip (e.g. 192.168.1.50)?
How can this be done without conflicting with ssh listening server on the main node? (getting error
nginx: [emerg] bind() to 0.0.0.0:22 failed (98: Address already in use) )
Or mail ports to be used as a normal mail server to a NAT vps.
• If a program actually fits in memory and has enough disk space, it is guaranteed to crash.
• If such a program has not crashed yet, it is waiting for a critical moment before it crashes.