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.

1

How to restart nginx?

By
Mark
on 11/16/16, 2:43 AM 663 views

How to restart nginx?


0

Victoria IT

--Victoria IT--
2500
| 2 0 0
--Victoria IT--
Victoria IT
On 8/7/17, 1:37 PM

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

  • Flag

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

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. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/16/16, 2:43 AM
Seen: 663 times
Last updated: 8/7/17, 1:37 PM