You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
undertow.devMode=true
|
|
|
|
|
undertow.port=9090
|
|
|
|
|
undertow.host=0.0.0.0
|
|
|
|
|
# 在本地调试时使用
|
|
|
|
|
#undertow.resourcePath = C:/BasicData/WebRoot, classpath:static
|
|
|
|
|
# 部署到生产环境时使用
|
|
|
|
|
undertow.resourcePath =/usr/local/tomcat8/webapps/BaseSystem,classpath:static
|
|
|
|
|
|
|
|
|
|
# 项目名称
|
|
|
|
|
undertow.contextPath=/basicdata
|
|
|
|
|
|
|
|
|
|
# 设定I/O线程数.
|
|
|
|
|
server.undertow.io-threads=8
|
|
|
|
|
# 设定工作线程数
|
|
|
|
|
server.undertow.worker-threads=60
|
|
|
|
|
|
|
|
|
|
# gzip 压缩开关,云平台大量接口使用capture调用,未处理压缩问题,所以这里统一使用false吧!!如果与云平台无关的话,可以设置为true
|
|
|
|
|
undertow.gzip.enable=false
|
|
|
|
|
|
|
|
|
|
# 配置压缩级别,默认值 -1。 可配置 1 到 9。 1 拥有最快压缩速度,9 拥有最高压缩率
|
|
|
|
|
undertow.gzip.level=-1
|
|
|
|
|
# 触发压缩的最小内容长度
|
|
|
|
|
undertow.gzip.minLength=1024
|