Springboot如何同时开启http和https

背景 Springboot默认使用的内嵌容器是tomcat。实际上内嵌了Tomcat、Jetty、Undertow。 关于三者性能,参考 https://www.cnblogs.com/duanxz/p/9337022.html 从这个帖子中可知,Undertow在性能上要比Tomcat、Jetty稍微好一些,在内存方面也要好一些。 所以你的项目如果没有特别要求,使用Undertow是不会有错的。
相关文章
相关标签/搜索