nginx
xiaojiit
踏实、稳重、自信、自律
展开
-
Linux下安装nginx时注意事项
1、下载最新的稳定版 wget http://nginx.org/download/nginx-1.0.6.tar.gz 2、执行如下命令 tar zxf nginx-1.0.6.tar.gz cd nginx-1.0.6 ./configure --prefix=/usr/local/nginx1.0.6 make make install 3...2011-09-21 19:55:40 · 74 阅读 · 0 评论 -
Linux下启动Nginx脚本
首先: vi /etc/init.d/nginx #!/bin/bash #nginx Startup script for the Nginx HTTP Server # it is v.1.0.6 version. # chkconfig: - 85 15 # description: Nginx is a high-performance web a...原创 2011-09-21 20:12:29 · 115 阅读 · 0 评论 -
Nginx域名配置server_names_hash问题
今天在配置Nginx服务器时,配置文件检查报: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32 查了一个WIKI,看到如下的内容: 保存服务器名字的hash表是由指令 server_names_hash_max_size 和 server_names...2011-09-22 09:43:56 · 265 阅读 · 0 评论