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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Cliff AlbertSenior Network EngineerCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.