Tuesday, July 31 2018
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 or ps -aux | grep nginx
7. Upgrade nginx
service nginx upgrade
8. Nginx configuration
nginx -t or service nginx configtest
Thanks for reading this article. If you have any queries and please comment in below.