From fe98e57fc4350ddc2220b5f6f2201d0d73573c01 Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期一, 19 四月 2021 11:13:39 +0800
Subject: [PATCH] 增加对https的支持

---
 src/main/resources/application-dev.yml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index fad47f9..e1397d7 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -31,6 +31,16 @@
 # [鍙�塢 WVP鐩戝惉鐨凥TTP绔彛, 缃戦〉鍜屾帴鍙h皟鐢ㄩ兘鏄繖涓鍙�
 server:
     port: 18080
+    # [鍙�塢 HTTPS閰嶇疆锛� 榛樿涓嶅紑鍚�
+    ssl:
+        # [鍙�塢 鏄惁寮�鍚疕TTPS璁块棶
+        enabled: false
+        # [鍙�塢 璇佷功鏂囦欢璺緞锛屾斁缃湪resource/鐩綍涓嬪嵆鍙紝淇敼xxx涓烘枃浠跺悕
+        key-store: classpath:xxx.jks
+        # [鍙�塢 璇佷功瀵嗙爜
+        key-password: password
+        # [鍙�塢 璇佷功绫诲瀷锛� 榛樿涓簀ks锛屾牴鎹疄闄呬慨鏀�
+        key-store-type: JKS
 
 # 浣滀负28181鏈嶅姟鍣ㄧ殑閰嶇疆
 sip:

--
Gitblit v1.8.0