dataset/seed/speedtest-rs/templates/config.env

20 lines
654 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={{ general.tls_cert_directory }}/revprox.crt
SPEEDTEST_KEY={{ general.tls_key_directory }}/revprox.key
# optional CA to validate client
SPEEDTEST_CA_CERT={{ general.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