nginx 地址重写
生活随笔
收集整理的這篇文章主要介紹了
nginx 地址重写
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
例如,
www.baidu.com? ? 跳到? ?www.baidu.com/index.html
#if ( $http_host ~* "^(.*)\.baidu\.com$") {rewrite ^(.*) https://www.baidu.com/index.html break;}加在server中
rewrite ^(.*) https://www.baidu.com/index.html permanment;
轉載于:https://www.cnblogs.com/zdqc/p/9724854.html
總結
以上是生活随笔為你收集整理的nginx 地址重写的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: iptables failed: ipt
- 下一篇: 鬼畜视频创作神器——EDIUS Pro