application.yml 414 B

12345678910111213141516
  1. server:
  2. port: 5008 # 端口号
  3. servlet:
  4. context-path: ${spring.application.name} # 访问路径,如果不配置,访问IP:端口号,配置后访问IP:端口号/${context-path}
  5. spring:
  6. application:
  7. name: /qc-web # 项目名称
  8. http:
  9. encoding: # http编码
  10. force: true
  11. charset: UTF-8
  12. enabled: true
  13. logging: # 日志
  14. config: classpath:logback-spring.xml