Operations
Checking a service after reload
Validate the configuration, reload once, then test the request a reader makes.
Make the change easy to reverse
Keep the previous configuration and files available. A small web release is easier to diagnose when the application, certificate, and network settings can be checked independently.
Validate before reloading
For Nginx on a systemd host, run the configuration test first. Reload only after that test succeeds. Check that the service is still active, then request a real page from the endpoint readers use.
sudo nginx -t
sudo systemctl reload nginx
systemctl is-active nginx
Check one success and one failure
Request the home page and a deliberately missing path on your own site. Verify the status, the certificate, and the content you intended to publish. If a private listener sits behind another service, repeat the test on both sides to isolate where a mismatch occurs.