cms-web-local.properties 991 B

1234567891011121314151617181920212223242526272829303132333435
  1. eureka.client.service-url.defaultZone=http://127.0.0.1:8821/eureka/
  2. #出现错误时, 直接抛出异常
  3. spring.mvc.throw-exception-if-no-handler-found=true
  4. #不要为我们工程中的资源文件建立映射
  5. spring.resources.add-mappings=false
  6. # http encoding
  7. spring.http.encoding.charset=UTF-8
  8. spring.http.encoding.force=true
  9. spring.http.encoding.enabled=true
  10. # cms 管理端 会话管理 信息
  11. jwt.header= X-Token
  12. jwt.cookie= X-Cookie
  13. jwt.secret= tomas
  14. jwt.expiration= 3600
  15. # 执行异步任务的 线程池大小
  16. cms.threadPoolAsyncTaskExecutor.thread.size=16
  17. #logging.level.root=debug
  18. ## redis 配置
  19. #spring.redis.host=r-2ze20a12a3fa8464.redis.rds.aliyuncs.com
  20. #spring.redis.host=localhost
  21. spring.redis.host=127.0.0.1
  22. spring.redis.port=6379
  23. #spring.redis.password=Lingj20170915
  24. spring.redis.password=
  25. spring.redis.timeout=3000
  26. spring.redis.pool.max-idle=8
  27. spring.redis.pool.min-idle=0
  28. spring.redis.pool.max-active=8
  29. spring.redis.pool.max-wait=-1
  30. spring.redis.key.prefix=api/web