application.properties 1.33 KB
spring.profiles.active=@environment@

# thymeleaf\u3001tomcat\u3001mybatis \u76F8\u5173\u516C\u5171\u914D\u7F6E
spring.thymeleaf.mode=LEGACYHTML5
spring.thymeleaf.encoding=UTF-8
spring.thymeleaf.servlet.content-type=text/html
spring.thymeleaf.cache=false

# \u5F02\u5E38\u4E00\uFF1AInvalid character found in method name. HTTP method names must be token
#\u539F\u56E0\uFF1A \u4EA7\u751F\u8FD9\u4E2A\u95EE\u9898\u7684\u539F\u56E0\u662F\u9875\u9762\u8868\u5355\u63D0\u4EA4\u4E86\u5927\u91CF\u7684\u6570\u636E\uFF0C\u800C\u8FD9\u4E9B\u6570\u636E\u91CF\u53EF\u80FD\u8D85\u8FC7\u4E86Tomcat \u5B9A\u4E49\u7684Header\u5934\u5185\u5BB9\uFF0C\u53EA\u8981\u8BBE\u7F6E\u4E00\u4E0BTomcat\u7684maxHttpHeaderSize
server.tomcat.max-http-post-size=10240000
server.max-http-header-size=10240000

server.tomcat.protocol_header=x-forwarded-proto
server.use-forward-headers=true

spring.jpa.properties.hibernate.hbm2ddl.auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.show-sql= true

server.tomcat.uri-encoding=UTF-8
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
#\u914D\u7F6EScheduled\u5B9A\u65F6\u4EFB\u52A1\u4E3A\u591A\u7EBF\u7A0B
spring.task.scheduling.pool.size=8

mybatis.mapper-locations=classpath:mapper/*.xml
mybatis.type-aliases-package=com.cnlive.shenhe.entity