Deploying to a host still receiving traffic means the requests in flight during the swap see a half-updated application, and there is no version of that which is…
The pattern does not require two machines or a load balancer — two upstreams and an nginx variable will do it, and the rollback becomes a config reload.…
Behind a proxy, $remote_addr is the proxy. Reading X-Forwarded-For instead is correct only if you also refuse to believe it from anyone but the proxy. This matters for…
A cache that expires and then blocks every waiting request on one slow origin fetch is a cache that makes the worst moment worse. proxy_cache_lock means one request…
Stapling saves the client a round trip to the certificate authority and stops the CA learning which sites that user visits, and the configuration is inert without one…
A reload starts new workers with the new configuration and lets the old ones finish their current requests, so an nginx process list after a reload legitimately contains…
Deploying to a host that is still receiving traffic means the requests in flight during the swap see a half-updated application, and there is no version of that…