Nginx as reverse proxy

beatified used Ask the Experts™
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 * available (* being anything I want it to be)
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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.


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

Yes you can, except there might  be a better solution in haproxy.
Senior Network Engineer


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.


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