Check out example codes for "restart nginx". It will help you in understanding the concepts better.

Code Example 1

sudo systemctl restart nginx

Code Example 2

sudo systemctl reload nginx

Code Example 3

systemctl reload nginx

Learn ReactJs, React Native from akashmittal.com