How to restart nginx server in Ubuntu

Last updated on

Before restarting your Nginx server, make sure to check the syntax for errors first.

sudo nginx -t

Restart Nginx.

sudo service nginx restart
1 Star2 Stars3 Stars4 Stars5 Stars

Let me know in the comments if this helped. Follow me on Twitter, Facebook and YouTube.

p.s. I increased my AdSense revenue by 68% using AI 🤖. Read my Ezoic review to find out how.

Leave a Reply

avatar
  Subscribe  
Notify of