
Debugging Nginx: why your SSL certificates don't apply after reload?
Recently, an automation that creates new nginx hosts stopped working properly. The process would go through flawlessly, but when I tried to access the site, it redirected to another host. The same thing also occurred in certificate renewals. Only after a full nginx restart would the site work correctly. This behavior led me down a debugging rabbit hole. In this post, I’ll share how I diagnosed this issue and the solution I found to fix it. ...