Yet another nginx.org apt mirror
对于国内访问 nginx.org 源的速度忍无可忍,于是摸了个 apt-mirror做了个镜像,方法参照 https://raymii.org/s/tutorials/Set_up_a_local_Ubuntu_debian_apt_mirror.html (想了一下似乎小流量访问搭反代是更好的办法,但是这种跨境反代总是有不可描述的敏感性,所以还是算了)
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# For Ubuntu16.04 deb https://xcb.uestc.edu.cn/mirror/unit/ubuntu/ xenial unit deb-src https://xcb.uestc.edu.cn/mirror/unit/ubuntu/ xenial unit deb https://xcb.uestc.edu.cn/mirror/nginx/ubuntu/ xenial nginx deb-src https://xcb.uestc.edu.cn/mirror/nginx/ubuntu/ xenial nginx # For Debian9 deb https://xcb.uestc.edu.cn/mirror/unit/debian/ stretch unit deb-src https://xcb.uestc.edu.cn/mirror/unit/debian/ stretch unit deb https://xcb.uestc.edu.cn/mirror/nginx/debian/ stretch nginx deb-src https://xcb.uestc.edu.cn/mirror/nginx/debian/ stretch nginx # For Debian8 deb https://xcb.uestc.edu.cn/mirror/unit/debian/ jessie unit deb-src https://xcb.uestc.edu.cn/mirror/unit/debian/ jessie unit deb https://xcb.uestc.edu.cn/mirror/nginx/debian/ jessie nginx deb-src https://xcb.uestc.edu.cn/mirror/nginx/debian/ jessie nginx |
每天6点更新,unit 是 nginx unit(对应官方源的 packages.nginx.org/unit/),nginx 只有 mainline 版本(对应官方源的 nginx.org/packages/mainline/ ),暂时做了 Debian8、Debian9、Ubuntu16.04 (别的我自己不用),使用此镜像即等于接受以下 TOS:
- 软件及源码皆“按原样”分发,一切权利归 nginx.org 所有
- 该服务无任何可用性、实时性保证且服[……]