application.yml配置

server:

      port:9090

      context-path: /boot

      servlet-path: "*.html"   此处是所有访问必须使用html后缀,便于搜索引擎。

logging:
  file: ../logs/log.log    #将日志输出到文件

猜你喜欢

转载自my.oschina.net/u/3026372/blog/2961995