123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #项目的全局配置==============>
- spring.application.name=v1-alam-kpr-proxy-center
- # 项目contextPath
- server.servlet.context-path= /
- # 错误页,指定发生错误时,跳转的URL。请查看BasicErrorController源码便知
- server.error.path= /
- # 服务端口
- server.port=9999
- #global.lan.test.log=true
- #spring boot 2.0在开启https时,若运行环境安装openssl后将以https-openssl模式运行,若未安装openssl时将以https-jsse模式运行
- #server.ssl.enabled=true
- #server.ssl.key-store=classpath:alam_server.pfx
- #server.ssl.key-store-password=Tri12345678
- #server.ssl.keyStoreType=PKCS12
- #server.ssl.key-alias=alias
- # session最大超时时间(秒钟),默认为30
- server.servlet.session.timeout=60s
- # 最大链接超时时间
- server.connection-timeout=60s
- # 是否打开 undertow 日志,默认为 false
- server.undertow.accesslog.enabled=false
- # 设置访问日志所在目录
- server.undertow.accesslog.dir=./trilog
- # 指定工作者线程的 I/0 线程数,默认为 2 或者 CPU 的个数
- server.undertow.io-threads=4
- # 指定工作者线程个数,默认为 I/O 线程个数的 8 倍
- server.undertow.worker-threads=400
- # 设置缓冲区大小
- server.undertow.buffer-size=1024
- # 使用直接内存
- server.undertow.direct-buffers=true
- #连接超时时间
- server.undertow.connection-timeout=60s
- #设置HTTP POST请求的最大内容大小,以适应可能的文件上传或大批量数据提交
- server.undertow.max-http-post-size=0
- ## Freemarker 配置
- ## 文件配置路径
- spring.freemarker.template-loader-path=classpath:/templates/
- ## 对于静态资源建议开启缓存
- spring.freemarker.cache=true
- spring.freemarker.charset=UTF-8
- spring.freemarker.check-template-location=true
- spring.freemarker.content-type=text/html
- spring.freemarker.expose-request-attributes=true
- spring.freemarker.expose-session-attributes=true
- spring.freemarker.request-context-attribute=request
- spring.freemarker.suffix=.ftl
- #设定静态文件路径,js,css等
- spring.mvc.static-path-pattern=/static/**
- # 本服务所在的部署机器的索引编号
- global.machine.index=0
- # 本服务在部署机器上的服务索引编号
- global.service.index=5
- # 本服务的ID
- global.server.id=kpr.proxy.v100
- #===================Redis配置文件路径====================
- #global.redis.config.path=./redis.properties
- #===================数据库配置===========================
- global.sql.config.path=./sql.properties
- #============全局配置参数===================
- #是否启用本地缓存策略
- global.local.cache.switch=true
- #是否开启license验证
- global.license.check.switch=false
- #=============内部运维账号配置===================
- global.internal.operator.account=TriCooperation
- global.internal.operator.password=$2b$10$Scz7AoeOTUB69piABNLOEepFU7OesRDRStP43g9r7QFw0Go7KTo4u
- cloud.proxy.address.base=https://140.246.183.164:9000/
- cloud.proxy.address.task=https://140.246.183.164:9000/
|