Nginx as reverse proxy

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)
LVL 2
beatifiedAsked:
Who is Participating?
 
Cliff AlbertSenior Network EngineerCommented:
0
 
Martin MillerCTOCommented:
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/
0
 
beatifiedAuthor Commented:
great thanks I'll take a look at it.
0
 
nociSoftware EngineerCommented:
Yes you can, except there might  be a better solution in haproxy.
http://www.haproxy.org
0
 
Martin MillerCTOCommented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.