Injecting environment variables into static websites using NGINX
Static site generation is a perfect fit for publishing documentation.
In a recent project, we chose to use NGINX as a web server to host the HTML and CSS files.
However, we also wanted to protect the site using SSO.
This is where things get a bit difficult.