[CentOS-mirror] How to redirect yum requests to another domain
mirrors
mirrors at cmdgy.comSat Jul 4 13:50:04 UTC 2015
- Previous message: [CentOS-mirror] Mirror removal
- Next message: [CentOS-mirror] How to redirect yum requests to another domain
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, everyone I'm trying to redirect requests to another server. While using conf below(in Nginx): location ~* ^/(centos) { rewrite ^/(.*)$ http://b.mirrors.lanunion.org/$1 redirect; } I got an error like this: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try. http://mirrors.cqu.edu.cn/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently What can I do to achieve this? Many thanks. Tan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-mirror/attachments/20150704/f804e725/attachment-0002.html>
- Previous message: [CentOS-mirror] Mirror removal
- Next message: [CentOS-mirror] How to redirect yum requests to another domain
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS-mirror mailing list