Nginx as reverse proxy

beatified
beatified used Ask the Experts™
on
I am running nginx on a raspberry pi.

I want to run it as a reverse proxy.

I have multiple servers running ssl and one needing forwarding on multiple ports (2195,2196,5228,5229,5230,38880,38881,80,443)

My question is two fold.

Is this even possible? in other words can you forward ports that are non http based ports. For example ports other than 80 8080 443 stuff like that.

I own a domain linked to a dynamic DNS service so I have *.mydomain.com available (* being anything I want it to be)
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
I believe YES you can... I have a copy of Complete NGINX Cookbook, you can also download this for free, with form info filled out.

https://www.nginx.com/thank-you-ebook-download/

Author

Commented:
great thanks I'll take a look at it.
nociSoftware Engineer
Distinguished Expert 2018

Commented:
Yes you can, except there might  be a better solution in haproxy.
http://www.haproxy.org
Senior Network Engineer
Commented:

Commented:
Beatified,

Cliff and I both pointed you at helpful nginx documentation. I have been using nginx for 4 years both as a proxy and load balancer.

Let us know if there is anything else you need.

Martin

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial