springboot tomcat的配置选项大全
server. Port = #
服务器端口号,默认8080
server. Address = #
服务绑定的网络地址
server. contextPath = #上下文路径
server. displayName =
server. servletPath =
server. contextParameters =
server. useForwardHeaders = #
请求是否允许X-Forwarded-*
server. serverHeader = #
服务响应头信息
server. maxHttpHeaderSize = #
HTTP消息报头的最大字节大小
server. maxHttpPostSize =
server. connectionTimeout = #
连接超时时间 ,-1无限超时
server. session.timeout = #session超时时间
server. session.trackingModes =
server. session.persistent =
server.session.storeDir =
server.cookie. name =
server.cookie. domain =
server.cookie. path =
server.cookie. comment =
server.cookie. httpOnly =
server.cookie. secure =
server.cookie. maxAge =
server. ssl. Enabled =
server.ssl. clientAuth =
server.ssl. ciphers =
server.ssl. enabledProtocols =
server.ssl. keyAlias =
server.ssl. keyPassword =
server.ssl. keyStore =
server.ssl. keyStorePassword =
server.ssl. keyStoreType =
server.ssl. keyStoreProvider =
server.ssl. trustStore =
server.ssl. trustStorePassword =
server.ssl. trustStoreType =
server.ssl. trustStoreProvider =
server.ssl. protocol =
server.compression. enabled =
server.compression.mimeTypes =
server.compression.excludedUserAgents =
server.compression.minResponseSize =
server. jspServlet. className =
server.jspServlet. initParameters =
server.jspServlet.registered =
server.tomcat.accesslog.enabled =
server.tomcat.accesslog.pattern =
server.tomcat.accesslog.directory =
server.tomcat.accesslog.prefix =
server.tomcat.accesslog.suffix =
server.tomcat.accesslog.rotate =
server.tomcat.accesslog.renameOnRotate =
server.tomcat.accesslog.requestAttributesEnabled=
server.tomcat.accesslog.buffered =
server.tomcat.internalProxies =
server.tomcat.protocolHeader =
server.tomcat.protocolHeaderHttpsValue =
server.tomcat.portHeader =
server.tomcat.remoteIpHeader=
server.tomcat.basedir =#Tomcat的基本目录,未指定使用临时路径
server.tomcat.backgroundProcessorDelay =
server.tomcat.maxThreads = #最大线程数
server.tomcat.minSpareThreads = #最小线程数
server.tomcat.maxHttpPostSize = #post内容最大字节数
server.tomcat.maxHttpHeaderSize =#http报头最大字节数
server.tomcat.redirectContextRoot = #重定向请求
server.tomcat.uriEncoding = #编码格式
server.tomcat.maxConnections =#请求最大连接数
server.tomcat.acceptCount = #连接请求的最大队列长度