文章詳情頁
nginx重定向問題
瀏覽:90日期:2024-06-19 17:57:07
問題描述
我想把/template/view/images/給重定向為/images/,應該怎么寫?
問題解答
回答1:rewrite ^/template/view/images/(.)..$ $1/images/$2 last;
回答2:conflocation ^~ /images/ { root /template/view/images/;}回答3:
http://www.hubwiz.com/course/54f031e2f8638715e4cb8e0c/
相關文章:
1. python - TypeError: tryMsgcode() takes exactly 2 arguments (0 given)2. 環境搭建 - anaconda 創建python2.7環境中打開編譯器確是3.6版本3. extra沒有加載出來4. linux - Ubuntu下編譯Vim8(+python)無數次編譯失敗5. html5 - H5頁面喚起APP導航6. javascript - 彈出一個子窗口,操作之后關閉,主窗口會得到相應的響應,例如網站的某些登錄界面,django后臺的管理等,這是怎么實現的呢?7. 求救一下,用新版的phpstudy,數據庫過段時間會消失是什么情況?8. mysql replace 死鎖9. list - python 求助10. python - 數據與循環次數對應不上
排行榜
