|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
server {
listen 80;
server_name mirrors.163.com;
access_log logs
/163
.log main;
location / {
proxy_set_header X-real-ip $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_send_timeout 300s;
proxy_connect_timeout 300s;
proxy_read_timeout 300s;
proxy_ignore_client_abort on;
proxy_pass http:
//mirrors
.163.com;
limit_rate 400k;
}
error_page 500 502 503 504
/50x
.html;
location =
/50x
.html {
root html;
}
}
|
这样内网机器就可以下在mirrors.163.com 源内所有的文件了
本文转自 小小三郎1 51CTO博客,原文链接:http://blog.51cto.com/wsxxsl/1953375,如需转载请自行联系原作者
