###server
server:
port: 443 ###端口配置,如果是https,80端口要配置成433
address: 0.0.0.0 ###服务地址,0.0.0.0表示内外网都可以访问,如果不配置Adress,端口可能不会生效
servlet:
context-path: / ###url根路径
tomcat:
uri-encoding: UTF-8 ###编码
ssl:###https配置
protocol: TLS
key-store-password: password
key-store: classpath:XXXXXX.work.pfx
key-store-type: PKCS12
SpringBoot启动端口配置
最新推荐文章于 2024-05-31 13:27:40 发布