Update README
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler 2022-08-15 02:41:31 -04:00
parent caa0fb43e4
commit 43205337c1
1 changed files with 8 additions and 1 deletions

View File

@ -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