Nginx Server 上80,443端口。http,https共存
2024-09-07 19:29:31
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
最新文章
- ArcGIS Engine开发之地图基本操作(4)
- 如何打开 系统信息窗体和 DirectX诊断工具
- Android+Sqlite 实现古诗阅读应用(二)
- Hanio汉诺塔代码递归实现
- 4分钟了解nano编辑器和简单命令 2015.10.6
- php短路与 短路或
- LeetCode(四)
- kinect for windows sdk
- Eclipse 项目管理控制软件svn
- ANDROID_MARS学习笔记_S01_007Linear_layout嵌套与layout_weight的设置
- HDU Traffic Real Time Query System
- 分享一个嵌入式httpdserver开发库 - boahttpd library
- Func和Action的用法区别
- Python 引用、浅拷贝、深拷贝解析
- An internal error occurred during: ";Building workspace";. GC overhead limit exceeded
- UI设计--->;全心全意为人民服务的宗旨---->;注重客户体验--->;软件持久的生命力
- Java核心技术第四章——2.final 和 static
- 第二节:深入剖析Thread的五大方法、数据槽、内存栅栏。
- 转载:python异常之 GeneratorExit
- hnctf安恒--蜘蛛侠呀
热门文章
- MyEclipse 2016 反编译插件安装
- GoAccess安装及分析nginx实时日志
- 最近老是有兄弟问我,Vue双向绑定的原理,以及简单的原生js写出来实现,我就来一个最简单的双向绑定,原生十行代码让你看懂原理
- MySQL显示ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)解决方法
- nginx第二天
- Java技术综述
- 清除eclipse 里面主函数的加载记录 launch configuration删除
- .Net笔试考题
- 小程序踩坑之获取不到e.target.dataset的值
- ctf活动结果