Nginx将通过IP访问重定向

时间:2016-04-02 13:30:41   收藏:0   阅读:371


server {
  listen 80 default_server;
  server_name localhost;
  location / {
    rewrite ^ http://www.xxx.com/?from-xxx;
  }
}

原文:http://www.cnblogs.com/xiaozong/p/5347398.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!