From 050fdd7137b86af1cccc3dba212dfad7a768726f Mon Sep 17 00:00:00 2001 From: Doubleyin <953994191@qq.com> Date: Fri, 17 Oct 2025 23:21:29 +0800 Subject: [PATCH] =?UTF-8?q?https=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index d39a346..ac33cd5 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,8 +1,10 @@ spring.application.name=Light server.port=443 -# 默认禁用SSL,通过profile启用 -server.ssl.enabled=false +server.ssl.enabled=true +server.ssl.key-store-type=JKS +server.ssl.key-store=/etc/ssl/certs/www.doubleyin.cn.jks +server.ssl.key-store-password=${KEY_STORE_PASSWORD} spring.datasource.url=jdbc:mysql://115.190.121.151:3306/light_delivery?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true spring.datasource.username=double