文章詳情頁
nginx重定向問題
瀏覽:104日期:2024-06-19 17:57:07
問題描述
我想把/template/view/images/給重定向為/images/,應(yīng)該怎么寫?
問題解答
回答1:rewrite ^/template/view/images/(.)..$ $1/images/$2 last;
回答2:conflocation ^~ /images/ { root /template/view/images/;}回答3:
http://www.hubwiz.com/course/54f031e2f8638715e4cb8e0c/
相關(guān)文章:
1. bootstrp是col-md-12列的,只有col-md-10有內(nèi)容,可以讓沒有內(nèi)容的不占據(jù)位置嗎;2. wordpress里,這樣的目錄列表是屬于小工具還是啥?3. 常量在外面不加引號會報錯。4. mysql federated引擎無法開啟5. android - Genymotion 微信閃退 not find plugin.location_google.GoogleProxyUI6. sublime text3安裝package control失敗7. mysql 為什么主鍵 id 和 pid 都市索引, id > 10 走索引 time > 10 不走索引?8. python如何設(shè)置一個隨著系統(tǒng)時間變化的動態(tài)變量?9. python 3.4 error: Microsoft Visual C++ 10.0 is required10. MySQL 使用 group by 之后然后 IFNULL(COUNT(*),0) 為什么還是會獲得 null
排行榜

熱門標簽