springboot配置https端口问题

服务器的80和8080已经被占用,请问怎么用http的8081端口配置https端口。

springboot项目

server:
  port: 8081

application.properties 下 server.port=8081
yml
server:
port: 8081

你这个问题应该是:**springboot实现https访问**你可以直接百度这样搜索,或者参考下方博客:
https://blog.csdn.net/kk_star/article/details/83273045

可以nginx配置ssl监听443转发到8081端口