1. 程式人生 > >spring config熱更新

spring config熱更新

post的請求方式訪問http://host:port/actuator/fresh頁面
同時,可以配合git webhook,遠端gitlab或github一更新,則自動在VPS上執行:

git pull
curl -X POST http://host:port/actuator/refresh

參考:
https://blog.csdn.net/skywoodsky/article/details/80745388