20 lines
598 B
Bash
20 lines
598 B
Bash
# server listening to
|
|
SPEEDTEST_ADDRESS=0.0.0.0
|
|
SPEEDTEST_PORT=443
|
|
|
|
# certificats and public key
|
|
# those to option are mandatory if you want tu active TLS support
|
|
SPEEDTEST_CERT=/etc/pki/tls/certs/revprox.crt
|
|
SPEEDTEST_KEY=/etc/pki/tls/private/revprox.key
|
|
# optional CA to validate client
|
|
SPEEDTEST_CA_CERT=%%revprox_client_ca_file
|
|
|
|
# Directory with HTML/js files
|
|
SPEEDTEST_DIR=/usr/share/speedtest-rs/
|
|
|
|
# https://ipinfo.io/ token to use this service
|
|
#IPINFO_TOKEN=
|
|
# to get distance between client and server we need to know the server coordonate
|
|
#SPEEDTEST_LATITUDE=0.0
|
|
#SPEEDTEST_LONGITUDE=0.0
|
|
|