這是我的nginx組態檔
location /tomcat {
proxy_pass http://本機IP:8081;
proxy_redirect off;
#proxy_redirect off;
#root html;
#index index.html index.htm;
}
但是我跳轉時候他會變成本機IP:8081/tomcat,我想讓他跳轉地址變成本機IP:8081,怎么實作呢
uj5u.com熱心網友回復:
proxy_pass http://本機IP:8081;改成
proxy_pass http://本機IP:8081/;
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/37983.html
標籤:應用程序開發區
上一篇:linux系統vim設定出錯
