Blog Infrastructure
Hi, the long awaited blog post is here - (jokes) although, its not a joke that it's overall a complicated setup for just a general selfhosted blog.
The reason for it to be overally complicated? I did it because I could. Learning new technology is a hobby of mine, I believe that I need to fully use something before I can properly learn it and I don't learn as fast just reading documentation.
The reason why I use NGINX for the reverse proxy / SSL termination is due to my familiarity to it. It offers some nice features compared to its counterparts, and I am a bit of an NGINX fanboy.
It's well known that Varnish Cache performs well, although it lacks SSL termination without relying on additional things (like Hitch). Although I have used Hitch in the past, I still enjoy NGINX more.
The two Docker containers are there just to minimize potential issues with deployment and the website going down.
Eventually in the future, I plan on dockerizing the entire setup, although it may take some time.