Latest Updates

Documenting code, one commit at a time.

Nginx 2 posts
×

Solving React SPA 404s in Docker: Nginx, npm ci, and Secure Environments

Developing a modern web application often involves a frontend framework like React, a backend API, and Docker for deployment. While Docker simplifies much of this, specific challenges can arise, especially when deploying Single Page Applications (SPAs). This post details recent improvements to the devops-portfolio-mern project, focusing on how we tackled common Dockerization pitfalls,

Read more

Stabilizing Docker Healthchecks: The 127.0.0.1 Difference

Have you ever faced the perplexing situation where your Docker container's service is clearly running, responding to requests, yet Docker insists it's unhealthy? This common frustration often stems from subtle misconfigurations in health checks, as we recently discovered while working on the devops-portfolio-mern project.

Our frontend, served by an Nginx container, was consistently being

Read more