软件版本nginx-stable-0.8.54-1.el5.x86_64.rpm
注意:
1·nginx的工作模式是1个master进程 N个worker进程
2·为了支持gzip和rewrite的正则,需要安装 zlib zlib-devel pcre pcre-devel
启动命令
[root@ora01 opt]# /etc/init.d/nginx
Usage: /etc/init.d/nginx {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}
对配置文件语法检查
/usr/sbin/nginx -t
配置文件
/etc/nginx/nginx.conf
更多信息均可在配置文件中找到。