server配置
server.address
指定server绑定的地址

server.compression.enabled
是否开启压缩,默认为false.

server.compression.excluded-user-agents
指定不压缩的user-agent,多个以逗号分隔,默认值为:text/html,text/xml,text/plain,text/css

server.compression.mime-types
指定要压缩的MIME type,多个以逗号分隔.

server.compression.min-response-size
执行压缩的阈值,默认为2048

server.context-parameters.[param name]
设置servlet context 参数

server.context-path
设定应用的context-path.

server.display-name
设定应用的展示名称,默认: application

server.jsp-servlet.class-name
设定编译JSP用的servlet,默认: org.apache.jasper

.servlet.JspServlet)

server.jsp-servlet.init-parameters.[param name]
设置JSP servlet 初始化参数.

server.jsp-servlet.registered
设定JSP servlet是否注册到内嵌的servlet容器,默认true

server.port
设定http监听端口

server.servlet-path
设定dispatcher servlet的监听路径,默认为: /

cookie、session配置
server.session.cookie.comment
指定session cookie的comment

server.session.cookie.domain
指定session cookie的domain

server.session.cookie.http-only
是否开启HttpOnly.

server.session.cookie.max-age
设定session cookie的最大age.

server.session.cookie.name
设定Session cookie 的名称.

server.session.cookie.path
设定session cookie的路径.

server.session.cookie.secure
设定session cookie的“Secure” flag.

server.session.persistent
重启时是否持久化session,默认false

server.session.timeout
session的超时时间

server.session.tracking-modes
设定Session的追踪模式(cookie, url, ssl).

ssl配置
server.ssl.ciphers
是否支持SSL ciphers.

server.ssl.client-auth
设定client authentication是wanted 还是 needed.

server.ssl.enabled
是否开启ssl,默认: true

server.ssl.key-alias
设定key store中key的别名.

server.ssl.key-password
访问key store中key的密码.

server.ssl.key-store
设定持有SSL certificate的key store的路径,通常是一个.jks文件.

server.ssl.key-store-password
设定访问key store的密码.

server.ssl.key-store-provider
设定key store的提供者.

server.ssl.key-store-type
设定key store的类型.

server.ssl.protocol
使用的SSL协议,默认: TLS

server.ssl.trust-store
持有SSL certificates的Trust store.

server.ssl.trust-store-password
访问trust store的密码.

server.ssl.trust-store-provider
设定trust store的提供者.

server.ssl.trust-store-type
指定trust store的类型.

tomcat
server.tomcat.access-log-enabled
是否开启access log ,默认: false)

server.tomcat.access-log-pattern
设定access logs的格式,默认: common

server.tomcat.accesslog.directory
设定log的目录,默认: logs

server.tomcat.accesslog.enabled
是否开启access log,默认: false

server.tomcat.accesslog.pattern
设定access logs的格式,默认: common

server.tomcat.accesslog.prefix
设定Log 文件的前缀,默认: access_log

server.tomcat.accesslog.suffix
设定Log 文件的后缀,默认: .log

server.tomcat.background-processor-delay
后台线程方法的Delay大小: 30

server.tomcat.basedir
设定Tomcat的base 目录,如果没有指定则使用临时目录.

server.tomcat.internal-proxies
设定信任的正则表达式,默认:“10\.\d{1,3}\.\d{1,3}\.\d{1,3}| 192\.168\.\d{1,3}\.\d{1,3}| 169\.254\.\d{1,3}\.\d{1,3}| 127\.\d{1,3}\.\d{1,3}\.\d{1,3}| 172\.1[6-9]{1}\.\d{1,3}\.\d{1,3}| 172\.2[0-9]{1}\.\d{1,3}\.\d{1,3}|172\.3[0-1]{1}\.\d{1,3}\.\d{1,3}”

server.tomcat.max-http-header-size
设定http header的最小值,默认: 0

server.tomcat.max-threads
设定tomcat的最大工作线程数,默认为: 0

server.tomcat.port-header
设定http header使用的,用来覆盖原来port的value.

server.tomcat.protocol-header
设定Header包含的协议,通常是 X-Forwarded-Proto,如果remoteIpHeader有值,则将设置为RemoteIpValve.

server.tomcat.protocol-header-https-value
设定使用SSL的header的值,默认https.

server.tomcat.remote-ip-header
设定remote IP的header,如果remoteIpHeader有值,则设置为RemoteIpValve

server.tomcat.uri-encoding
设定URI的解码字符集.

undertow
server.undertow.access-log-dir
设定Undertow access log 的目录,默认: logs

server.undertow.access-log-enabled
是否开启access log,默认: false

server.undertow.access-log-pattern
设定access logs的格式,默认: common

server.undertow.accesslog.dir
设定access log 的目录.

server.undertow.buffer-size
设定buffer的大小.

server.undertow.buffers-per-region
设定每个region的buffer数

server.undertow.direct-buffers
设定堆外内存

server.undertow.io-threads
设定I/O线程数.

server.undertow.worker-threads
设定工作线程数

SpringBoot配置属性之Server参数的更多相关文章

  1. SpringBoot配置属性之Server

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  2. SpringBoot配置属性之NOSQL

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  3. SpringBoot配置属性之MVC

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  4. SpringBoot配置属性转载地址

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  5. SpringBoot配置属性之其他

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  6. SpringBoot配置属性之Migration

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  7. SpringBoot配置属性之Security

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  8. SpringBoot配置属性之MQ

    SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...

  9. SpringBoot配置属性二

    server配置 server.address指定server绑定的地址 server.compression.enabled是否开启压缩,默认为false. server.compression.e ...

随机推荐

  1. ZROI 19.08.11模拟赛

    传送门 写在前面:为了保护正睿题目版权,这里不放题面,只写题解. dlstql,wsl A \(10pts:\) \(a=100,T=100\),对每个排列构造一个反的,一步到位即可. \(20pts ...

  2. react axios 跨域问题

    周末又是补充知识点的时候了,用了react axios 跨越问题,貌似是要比vue 稍微麻烦一点 它请求http好像是没有问题的,但是https还是有跨域问题的, 我用的刚好是create-react ...

  3. Mac系统Pycharm永久激活

    网上找了很多Pycharm永久激活的方法,前面几步几乎都一样,最后激活的那步却总行不通,于是这边记录下 一.本人下载的是2018.2.7版本,官方有很多版本可供下载,下载地址http://www.je ...

  4. docker跨主机通信-overlay

    使用consul 1,让两个网络环境下的容器互通,那么必然涉及到网络信息的同步,所以需要先配置一下consul. 直接运行下面命令.启动consul. docker run -d -p 8500:85 ...

  5. 奇怪的 Markdown / LaTeX 笔记

    记一下日常见到的一些奇怪的 Markdown / LaTeX 用法... Markdown LaTeX LaTeX 数学 1. 运算符 1.1 造运算符: a \operatorname{sin} c ...

  6. python中pip相关命令

    用pip安装第三方包的命令 pip install xxx --user 用pip更新第三方包 pip install --upgrade xxx --user 用pip卸载第三方包 pip unin ...

  7. 关于SSD和YOLO对小目标的思考

    所谓的小目标,要看是绝对小目标(像素),和相对小目标(相对原图的长宽来看的).大目标小目标只跟receptive field(感受野)有关,cnn本身可以检测任何尺度的物体.ssd对小目标检测不太适用 ...

  8. es6新的数据类型——generator

    todo 一.Generator 函数是 ES6 提供的一种异步编程解决方案,语法行为与传统函数完全不同. 语法上,首先可以把它理解成,Generator 函数是一个状态机,封装了多个内部状态. 执行 ...

  9. vue-router(转)——基本使用 + 路由守卫无限循环问题

    路由守卫无限循环问题 https://www.jianshu.com/p/1187f8f74a72 学习目的 学习Vue的必备技能,必须 熟练使用 Vue-router,能够在实际项目中运用. Vue ...

  10. [CSP-S模拟测试]:表达式密码(模拟)

    题目传送门(内部题87) 输入格式 从文件$expression.in$中读入数据.输入一行,一个字符串$S$,表示原表达式,保证为合法表达式 输出格式 输出到文件$expression.out$中. ...