摘要: 目录 1. 获取SSL证书文件 1.1 购买SSL证书 1.2创建证书 2. Nginx配置SSL 2.1 开始Nginx配置 2.2 Nginx.conf配置 2.3 添加ECS安全组 3. 开始配置SpringBoot SSL证书 3.1 下载证书 3.2 配置YML文件 3.3 更改pom.x 阅读全文
posted @ 2021-07-25 14:05 Yao靠自己 阅读(1201) 评论(0) 推荐(0)
摘要: 前后端分离项目往往需要配置到同一个服务器上,前端一般使用80端口;后端自定义这里用8080举例。 原先 前端访问 **https://www.xxx.com** 后端接口 **http://xxx.com:8080** 目标 前端访问 **https://www.xxx.com** 后端接口 **h 阅读全文
posted @ 2021-07-25 14:04 Yao靠自己 阅读(3488) 评论(1) 推荐(0)
摘要: SpringBoot配置SSL后出现如下错误: Unable to start ServletWebServerApplicationContext due to multiple ServletWebServerFactory beans : webServerFactory,servletCon 阅读全文
posted @ 2021-07-25 14:02 Yao靠自己 阅读(461) 评论(0) 推荐(0)