4 ms·
You don't need to restart nginx; reloading suffices. Moreover, it's good to test the configuration before restarting/reloading: nginx -t && sudo service ngi
by 0xmohit 10y ago
You don't need to restart nginx; reloading suffices. Moreover, it's good to test the configuration before restarting/reloading:
nginx -t && sudo service nginx reload