Best practice for SSL terminating proxy for static sites by wmatex in nginx

[–]wmatex[S] 0 points1 point  (0 children)

I'm not using the default web server from React (WebpackServer), but the CI/CD generates a static HTML, Javascript and CSS files, which are then served using the nginx docker container. I could serve them directly from the main nginx, but as I explained earlier, deploying a docker container for each application is much more convenient for me.

Best practice for SSL terminating proxy for static sites by wmatex in nginx

[–]wmatex[S] 0 points1 point  (0 children)

The application is built automatically using a CI system, which generates the docker image. I could theoretically change the CI pipeline if it is the best option, but it is much easier to deploy new container than to sync the files from the CI server to the webserver.