[nginx] nginx安装
安装
wget http://nginx.org/download/nginx-1.0.15.tar.gz tar zvxf nginx-1.0.15.tar.gz cd nginx-1.0.15 ./configure make sudo make install
启动nginx
./nginx
重新加载nginx配置
killall -1 nginx # 或 killall -s HUP nginx
处理完当前请求后退出
killall -3 nginx # 或 killall -s QUIT nginx
检查配置文件是否正确(没有语法错误)
./nginx -t
think in coding