#
Restarting the Nginx Server
By

Fernando Cesar
first you need to connect to your instance in aws
ssh -i {key.pem} user@ip
Once you're connected, restarting Nginx is easy, just run this command:
sudo systemctl restart nginx