檔案上傳成功后,請求訪問后臺地址會根據
profile進行匹配,需要自己配置nginx代理,
方式一:指向地址
location /profile/ {
proxy_pass http://127.0.0.1:8080/profile/;
}
方法二:指向目錄,對應后臺`application.yml`中的`profile`配置
location /profile/
{
alias /home/ruoyi/uploadPath/;
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/384182.html
標籤:其他
上一篇:使用Dlog4j2.formatMsgNoLookups臨時修復elasticsearchhelmchart中的log4j
