1
0

application-backup.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # 这是老项目软工二后端的配置,仅作参考,不是此项目的配置
  2. spring:
  3. jpa:
  4. hibernate:
  5. ddl-auto: update
  6. naming:
  7. implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
  8. physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
  9. mail:
  10. properties:
  11. mail:
  12. smtp:
  13. auth: true
  14. starttls:
  15. enable: true
  16. required: true
  17. resources:
  18. chain:
  19. strategy:
  20. content:
  21. enabled: true
  22. paths:
  23. - /moocoder-frontend/**
  24. - /js/**
  25. - /css/**
  26. servlet:
  27. multipart:
  28. max-file-size: 16MB
  29. max-request-size: 16MB
  30. server:
  31. tomcat:
  32. remote-ip-header: X-Forwarded-For
  33. protocol-header: X-Forwarded-Proto
  34. servlet:
  35. session:
  36. persistent: true
  37. store-dir: ${java.io.tmpdir}/moocoder-session
  38. timeout: 1d
  39. use-forward-headers: true
  40. management:
  41. endpoints:
  42. web:
  43. base-path: /api/actuator
  44. endpoint:
  45. shutdown:
  46. enabled: true