TOPIC / TAG
Notes in nginx
3 articles

A Multi-Stage Dockerfile That Ships Only the Build Output
Build a static site in a Node stage, ship only the generated files on nginx, and use --target, docker image ls, and docker history to confirm what actually ended up in the final image.

Nginx Location Matching in the Order That Matters
Predict which Nginx location block will handle a request by learning how exact, prefix, and regex matches are chosen.

Test Nginx Configuration Before Reloading
Use Nginx's configuration test, inspect included files, and reload without replacing healthy workers with a broken configuration.