Update README
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
caa0fb43e4
commit
43205337c1
|
@ -5,7 +5,7 @@ This repository contains a redirect service for Armbian downloads, apt, etc.
|
||||||
|
|
||||||
It uses multiple current technologies and best practices, including:
|
It uses multiple current technologies and best practices, including:
|
||||||
|
|
||||||
- Go 1.17/1.18
|
- Go 1.19
|
||||||
- GeoIP + Distance routing
|
- GeoIP + Distance routing
|
||||||
- Server weighting, pooling (top x servers are served instead of a single one)
|
- Server weighting, pooling (top x servers are served instead of a single one)
|
||||||
- Health checks (HTTP, TLS)
|
- Health checks (HTTP, TLS)
|
||||||
|
@ -52,12 +52,19 @@ cacheSize: 1024
|
||||||
# server = full url or host+path
|
# server = full url or host+path
|
||||||
# weight = int
|
# weight = int
|
||||||
# optional: latitude, longitude (float)
|
# optional: latitude, longitude (float)
|
||||||
|
# optional: protocols (list/array)
|
||||||
servers:
|
servers:
|
||||||
- server: armbian.12z.eu/apt/
|
- server: armbian.12z.eu/apt/
|
||||||
- server: armbian.chi.auroradev.org/apt/
|
- server: armbian.chi.auroradev.org/apt/
|
||||||
weight: 15
|
weight: 15
|
||||||
latitude: 41.8879
|
latitude: 41.8879
|
||||||
longitude: -88.1995
|
longitude: -88.1995
|
||||||
|
# Example of a server with additional protocols (rsync)
|
||||||
|
# Useful for defining servers which could be used for rsync sources
|
||||||
|
- server: mirrors.dotsrc.org/armbian-apt/
|
||||||
|
weight: 15
|
||||||
|
protocols:
|
||||||
|
- rsync
|
||||||
````
|
````
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
Loading…
Reference in New Issue