- Installation
sodu su root
apt-get install nginx
- start
nginx # 等于下面
nginx -c /etc/nginx/nginx.conf # 从一个配置文件启动
- Refresh configuration
nginx -s reload
sodu su root
apt-get install nginx
nginx # 等于下面
nginx -c /etc/nginx/nginx.conf # 从一个配置文件启动
nginx -s reload