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 3.67 (3 votes)

Let me know if this helped. Follow me on Twitter, Facebook and YouTube, or 🍊 buy me a smoothie.

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

Leave a Reply

Notify of