Welcome!
This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
To restart the nginx web server use any one of the following command as a root user. Open a terminal or login to the remote server using ssh.
Debian/Ubuntu/RHEL/CentOS Linux
Use the following command:
# /etc/init.d/nginx restart
OR# /etc/init.d/nginx reload
OR# service nginx restart
OR# service nginx reload
OR if you are using systemd based Linux distro:
$ sudo systemctl restart nginx
OR$ sudo systemctl reload nginx
To view status:
# service nginx status
OR$ sudo systemctl status nginx
Your Answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Community
Question tools
Stats
Asked: 11/16/16, 2:43 AM |
Seen: 4135 times |
Last updated: 8/7/17, 1:37 PM |