Bootstrap

Spring Boot修改Tomcat配置

Spring Boot框架默认使用自动嵌入的Tomcat,可以在配置文件中修改Tomcat的一些参数,具体如下:

server. Port = xxxx

server. Address =

server. contextPath =

server. displayName =

server. servletPath =

server. contextParameters =

server. useForwardHeaders =

server. serverHeader =

server. maxHttpHeaderSize =

server. maxHttpPostSize =

server. connectionTimeout =

server. session.timeout =

server. session.trackingModes =

;