1. 程式人生 > >application.yml配置

application.yml配置

server:

      port:9090

      context-path: /boot

      servlet-path: "*.html"   此處是所有訪問必須使用html字尾,便於搜尋引擎。

 

logging:
  file: ../logs/log.log    #將日誌輸出到檔案