Chinaunix首页 | 论坛 | 博客
  • 博客访问: 956994
  • 博文数量: 99
  • 博客积分: 3306
  • 博客等级: 中校
  • 技术积分: 1238
  • 用 户 组: 普通用户
  • 注册时间: 2009-04-21 10:14
文章分类

全部博文(99)

文章存档

2012年(37)

2011年(56)

2010年(6)

分类: LINUX

2012-03-21 13:03:14

通常https链接里面服务器获取不了用户访问时使用的host值。
自从openssl 0.9.8f后openssl支持了SNI.
"OpenSSL supports SNI since 0.9.8f version if it was built with config option “--enable-tl***t”. Since OpenSSL 0.9.8j this option is enabled by default."

重新编译一下openssl,我使用的是 openssl-0.9.8u.tar.gz
./Configure linux-generic64   --prefix=/opt/openssl 
然后重新配置nginx
./configure  --prefix=/opt/taobao/nginx --with-http_ssl_module --with-http_realip_module --with-openssl=/opt/
直接编译nginx时会报错,nginx生成的objs/Makefile有错误。
根据关键字"openssl"搜索一下 grep openssl objs/Makefile 就可以发现问题所在了。
然后修改objs/Makefile重新编译即可。

阅读(2025) | 评论(0) | 转发(0) |
0

上一篇:也说说rewrite

下一篇:screen简单配置

给主人留下些什么吧!~~