您的位置:首页 > 运维架构 > Nginx

linux 配置nginx 配置。

2012-11-15 09:43 239 查看
http://my.oschina.net/scriptboy/blog/78503

./configure

--with-ipv6 --with-http_ssl_module --without-http_gzip_module --without-http_ssi_module --without-http_userid_module \
--without-http_access_module --without-http_auth_basic_module --without-http_geo_module \
--without-http_map_module --without-http_split_clients_module --without-http_referer_module \
--without-http_proxy_module \
--without-http_memcached_module --without-http_upstream_ip_hash_module --without-mail_pop3_module \
--without-mail_imap_module --without-mail_smtp_module --without-http_uwsgi_module --without-http_scgi_module

支持ipv6:
listen [::]:80;

ssl{
openssl genrsa -des3 -out ca.key 2048
openssl req -new -x509 -days 7305 -key ca.key -out ca.crt
openssl rsa -in ca.key -out server.key #nginx免密码SSL
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: