We have posted article for how to learn nginx commands in Ubuntu for beginners. First of all, NGINX is a free, open-source, high-performance HTTP server and reverse proxy, high performance, stability and used for micro services, simple configuration, load balancers and API gateways.


Here we have explained some basic NGINX commands in below

Install NGINX (Debian/Ubuntu)

apt-get install nginx

1. Version check

nginx -V

2. Start nginx

service nginx start

3. Stop nginx

service nginx stop

4. Restart nginx

service nginx restart

5. Reload nginx

service nginx reload

6. Nginx service running status

service nginx status
ps -aux | grep nginx

7. Upgrade nginx

service nginx upgrade

8. Nginx configuration

nginx -t
service nginx configtest

Thanks for reading this article. If you have any queries and please comment in below.

Share Your Thoughts

Inline Feedbacks
View all comments
Subscribe Our Channel

Email Subscription
Watch Tutorials
Copyright © 2015 - 2021 PHPEXPERTISE.COM