本地启动 注释配置https ssl证书 部署时放开即可。

This commit is contained in:
wangzhijiang
2022-07-08 16:28:24 +08:00
parent b9722bc0f1
commit 97e87ebada
2 changed files with 14 additions and 12 deletions
@@ -1,6 +1,5 @@
server:
port: 8080
port-https: 8089 #自定义https端口
tomcat:
max-swallow-size: -1
error:
@@ -13,10 +12,12 @@ server:
enabled: true
min-response-size: 1024
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
ssl: #配置https证书
key-store: classpath:bxxt.hzwlsoft.com.jks
key-store-password: w933m5y1kz0xj8w
key-store-type: JKS
##配置https证书 部署服务器的时候解开。
# port-https: 8089 #自定义https端口
# ssl:
# key-store: classpath:bxxt.hzwlsoft.com.jks
# key-store-password: w933m5y1kz0xj8w
# key-store-type: JKS
management:
endpoints:
web: