It turns out the internet is full of middlemen. Some forward requests, some establish trust, and some simply make communication possible. I learned about two of those middlemen: Nginx and SSH.
Learning about networking and all that stuff during my college days was always like, "Meh... it's just protocols, IP addresses, and a bunch of theory. Nothing much, man."
But after I started building my own server to host websites, those same boring concepts started hitting me in a way I never expected they would.
So, after learning a bit about Docker and writing my Compose file, GPT suggested that I use Nginx as a reverse proxy. It also explained why exposing my services and their ports directly to the internet isn't considered a good practice, the attack surface is more in that way.
nginx and proxying






