Spring Boot 下server.context-path屬性的作用

Spring Boot 下server.context-path屬性的作用:
參考:https://blog.csdn.net/onedaycbfly/article/details/80108129

定義: server.context-path= # Context path of the application. 應用的上下文路徑,也可以稱爲項目路徑,是構成url地址的一部分。

ngnix中可以用context-path來分發請求

application.yaml全部屬性:https://blog.csdn.net/shmily_lsl/article/details/80175425

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章