# 这是老项目软工二后端的配置,仅作参考,不是此项目的配置 spring: jpa: hibernate: ddl-auto: update naming: implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl mail: properties: mail: smtp: auth: true starttls: enable: true required: true resources: chain: strategy: content: enabled: true paths: - /moocoder-frontend/** - /js/** - /css/** servlet: multipart: max-file-size: 16MB max-request-size: 16MB server: tomcat: remote-ip-header: X-Forwarded-For protocol-header: X-Forwarded-Proto servlet: session: persistent: true store-dir: ${java.io.tmpdir}/moocoder-session timeout: 1d use-forward-headers: true management: endpoints: web: base-path: /api/actuator endpoint: shutdown: enabled: true