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