$ sudo /etc/init.d/nginx start
$ sudo /etc/init.d/nginx stop
Hit 127.0.0.1:80/ and you should see "Welcome to nginx!"
Config path: /etc/ningx/
Default virtual hosts config path: /etc/nginx/sites-enabled/
Default doc root: /usr/share/nginx/www
Docs: nginx primer for folks who come from apache
No comments:
Post a Comment