Skip to content

Nginx Proxy

This will setup a proxy using docker and allows for SSL (if wanted) or to host multiple tcp based services without needing to expose more than port 80/443.

Prereqs

  • Server with non-NAT IPv4 address (to point DNS/SSL too)
  • Server with root/sudo permissions
  • Ability to change DNS for domain.
  • Docker installed

Misc

There are multiple ways to proxy your traffic, but what exactly does that mean? In this regard, say you own ''example.com'' but run ''example.com'' on a VM at home, but want people to access it from outside your network. Great, you open port 80 and port forward on your router to the VM IP address and call it a day. Well, this brings a couple of issues,