server
{
listen 80;
listen 443 ssl;
server_name www.iamle.com;
index index.html index.htm index.php;
root /home/wwwroot/www.iamle.com/;
#ssl on; 这里要注释掉
ssl_certificate /usr/local/nginx/conf/ssl/www_iamle_com.crt;
ssl_certificate_key /usr/local/nginx/conf/ssl/www_iamle_com.key;

#以下配置省略...
}

相关链接:

http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server

https://www.iamle.com/archives/1231.html

最新文章

  1. ArcGIS Engine开发之地图基本操作(4)
  2. 如何打开 系统信息窗体和 DirectX诊断工具
  3. Android+Sqlite 实现古诗阅读应用(二)
  4. Hanio汉诺塔代码递归实现
  5. 4分钟了解nano编辑器和简单命令 2015.10.6
  6. php短路与 短路或
  7. LeetCode(四)
  8. kinect for windows sdk
  9. Eclipse 项目管理控制软件svn
  10. ANDROID_MARS学习笔记_S01_007Linear_layout嵌套与layout_weight的设置
  11. HDU Traffic Real Time Query System
  12. 分享一个嵌入式httpdserver开发库 - boahttpd library
  13. Func和Action的用法区别
  14. Python 引用、浅拷贝、深拷贝解析
  15. An internal error occurred during: "Building workspace". GC overhead limit exceeded
  16. UI设计--->全心全意为人民服务的宗旨---->注重客户体验--->软件持久的生命力
  17. Java核心技术第四章——2.final 和 static
  18. 第二节:深入剖析Thread的五大方法、数据槽、内存栅栏。
  19. 转载:python异常之 GeneratorExit
  20. hnctf安恒--蜘蛛侠呀

热门文章

  1. MyEclipse 2016 反编译插件安装
  2. GoAccess安装及分析nginx实时日志
  3. 最近老是有兄弟问我,Vue双向绑定的原理,以及简单的原生js写出来实现,我就来一个最简单的双向绑定,原生十行代码让你看懂原理
  4. MySQL显示ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)解决方法
  5. nginx第二天
  6. Java技术综述
  7. 清除eclipse 里面主函数的加载记录 launch configuration删除
  8. .Net笔试考题
  9. 小程序踩坑之获取不到e.target.dataset的值
  10. ctf活动结果