5 ms·
You can use `nginx -t && nginx -s reload` for that. It will first check the configs/paths, and only then, if successful, signal nginx to reload.
by emilburzo 6y ago
You can use `nginx -t && nginx -s reload` for that.
It will first check the configs/paths, and only then, if successful, signal nginx to reload.
- Sebb767 6y agoThat's what I usually do. My problem is that I might be adding a location and nginx reloads between that and adding access restrictions (i.e. because I took a break to google).