File tree 4 files changed +25
-0
lines changed
4 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,7 @@ https://mirror.sjtu.edu.cn {
188
188
header /mirrorz/* Access-Control-Request-Method GET
189
189
190
190
@gzip_enabled {
191
+ not path /keyarchos/*
191
192
not path /racket/*
192
193
not path /bmclapi/*
193
194
not path /alhp/*
@@ -322,6 +323,10 @@ https://mirror.sjtu.edu.cn {
322
323
}
323
324
encode @gzip_enabled gzip zstd
324
325
326
+ redir /keyarchos /keyarchos/ 301
327
+ handle /keyarchos/* {
328
+ reverse_proxy rsync-gateway:8000
329
+ }
325
330
redir /racket /racket/ 301
326
331
handle /racket/* {
327
332
reverse_proxy rsync-gateway:8000
Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ https://mirrors.sjtug.sjtu.edu.cn {
179
179
not path /registry.k8s.io/*
180
180
not path /google-fonts/*
181
181
not path /anaconda/*
182
+ not path /keyarchos/*
182
183
not path /racket/*
183
184
not path /bmclapi/*
184
185
not path /alhp/*
@@ -571,6 +572,10 @@ https://mirrors.sjtug.sjtu.edu.cn {
571
572
@hidden path */.*
572
573
respond @hidden 404
573
574
}
575
+ redir /keyarchos /keyarchos/ 301
576
+ handle_path /keyarchos/* {
577
+ redir * https://mirror.sjtu.edu.cn/keyarchos{uri} 302
578
+ }
574
579
redir /racket /racket/ 301
575
580
handle_path /racket/* {
576
581
redir * https://mirror.sjtu.edu.cn/racket{uri} 302
Original file line number Diff line number Diff line change @@ -36,6 +36,16 @@ repos:
36
36
# no_redir_http: true
37
37
# <<: *oneshot_common
38
38
39
+ # keyarchos
40
+ - type : shell_script
41
+ name : keyarchos
42
+ script : /worker-script/rsync-fetcher.sh
43
+ interval : 29291
44
+ source : rsync://kos.ieisystem.com/wwwroot
45
+ password : Keyarchos_yum
46
+ serve_mode : rsync_gateway
47
+ << : *rsync_fetcher_common
48
+ << : *oneshot_common
39
49
# racket
40
50
- type : shell_script
41
51
name : racket
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ database_url = "postgres://rsync-sjtug@postgres/rsync-sjtug"
7
7
format = " json"
8
8
target = " tcp://tunnel:5007"
9
9
10
+ [endpoints .keyarchos ]
11
+ namespace = " keyarchos"
12
+ s3_bucket = " 899a892efef34b1b944a19981040f55b-oss01"
13
+ s3_prefix = " rsync/keyarchos"
14
+
10
15
[endpoints .racket ]
11
16
namespace = " racket"
12
17
s3_bucket = " 899a892efef34b1b944a19981040f55b-oss01"
You can’t perform that action at this time.
0 commit comments