增加对https的支持

This commit is contained in:
panlinlin
2021-04-19 11:13:39 +08:00
parent 41ca4e938d
commit fe98e57fc4
2 changed files with 15 additions and 2 deletions

View File

@@ -31,6 +31,16 @@ spring:
# [可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口
server:
port: 18080
# [可选] HTTPS配置 默认不开启
ssl:
# [可选] 是否开启HTTPS访问
enabled: false
# [可选] 证书文件路径放置在resource/目录下即可修改xxx为文件名
key-store: classpath:xxx.jks
# [可选] 证书密码
key-password: password
# [可选] 证书类型, 默认为jks根据实际修改
key-store-type: JKS
# 作为28181服务器的配置
sip: