How do I start Nginx on Ubuntu?

Trang Mắm

New member
How do I start Nginx on Ubuntu?
Answer
By default, nginx will not start automatically, so you need to use the following command. Other valid options are “stop” and “restart”.
[email protected]
:~# sudo /etc/init.d/nginx start Starting nginx: the configuration file /etc/nginx/nginx.conf syntax is ok configuration file /etc/nginx/nginx.conf test is successful nginx.
 

Tìm kiếm

Back
Top