Essential Nginx (engine x) Commands (start, stop, restart, reload etc. )

7 essential nginx (engine x) Commands

7 Basic essential nginx Commands such as start, stop, restart, reload, status, check the configuration and version.

1.) Start Nginx Service
These commands can be used to start engine x service.

service nginx start


systemctl start nginx

2.) Stop Nginx Service
Use these commands to stop engine x service

service nginx stop


systemctl stop nginx

3.) Restart Nginx Service

service nginx restart


systemctl restart nginx

4.) Reload Nginx Service

service nginx reload


service reload nginx

5.) Nginx Service Status

service nginx status


systemctl status nginx

6.) Check Nginx Configuration Files

nginx -t

7.) Check Nginx (engine x) Version

nginx -v


nginx -V

If you find this post helpful, please share it on your social networks. If you have any questions? Leave a comment below.

Thanks for reading!



Add Comment