PKUOSC / issues

You can submit issues here about mirror site.
6 stars 0 forks source link

建议提供 HTTP 服务 #15

Closed R2N0b1M closed 1 year ago

R2N0b1M commented 1 year ago

首页写明 本站支持IPV4和IPV6访问,提供HTTP,HTTPS服务,但实际上 HTTP 是直接 301 到 HTTPS。

考虑到有时候系统并未安装可用证书(比如从 Docker 镜像开始构建),无法连接 HTTPS 服务,希望能够提供可用的 HTTP 服务。

$ curl -v http://mirrors.pku.edu.cn/ubuntu/dists/bionic/InRelease
*   Trying 162.105.120.100:80...
* Connected to mirrors.pku.edu.cn (162.105.120.100) port 80 (#0)
> GET /ubuntu/dists/bionic/InRelease HTTP/1.1
> Host: mirrors.pku.edu.cn
> User-Agent: curl/7.81.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.14.2
< Date: Fri, 02 Sep 2022 08:59:36 GMT
< Content-Type: text/html
< Content-Length: 185
< Connection: keep-alive
< Location: https://mirrors.pku.edu.cn/ubuntu/dists/bionic/InRelease
< 
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.14.2</center>
</body>
</html>
* Connection #0 to host mirrors.pku.edu.cn left intact
fuzhenxin commented 1 year ago

可能是由于证书更新误重定向了http。目前已经恢复http正常访问,谢谢提醒!

R2N0b1M commented 1 year ago

感谢😸