dataset/seed/speedtest-rs/templates/config.env
2023-02-14 14:24:16 +01:00

20 lines
618 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=%%tls_cert_directory/revprox.crt
SPEEDTEST_KEY=%%tls_key_directory/revprox.key
# optional CA to validate client
SPEEDTEST_CA_CERT=%%tls_ca_directory/InternalReverseProxy.crt
# 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