启动nginx # /usr/local/nginx-1.0.6/sbin/nginx –t//看到ok和successful,说明配置文件没问题
nginx: the configuration file /usr/local/nginx-1.0.6/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx-1.0.6/conf/nginx.conf test is successful
# /usr/local/nginx-1.0.6/sbin/nginx