Nginx reverse proxy
I can’t believe it was this easy. I always got overwhelmed by having to learn how to do a reverse proxy in Nginx (or any other capable software), but I found myself needing to do it to get this blog up and going again since I had multiple things that would need port 80 in my system. Basically something like this in my site’s config file under site-confs:
server {
listen 80;
root /config/www/;
server_name scooterx3.net www.scooterx3.net;
location / {
proxy_pass http://nginx-scooterx3.net;
}
}
Now, I have seen people get a little fancier by using a plethora of other proxy_*
directives. I admit I don’t see yet a reason why one would do that. My case is pretty basic, and for now it definitely gets the job done and gets me moving forward with some other things that need done in my environment that were waiting on my getting a reverse proxy going in the first place.