diff --git a/config.env b/config.env new file mode 100644 index 0000000..9dae743 --- /dev/null +++ b/config.env @@ -0,0 +1,19 @@ +# server listening to +#SPEEDTEST_ADDRESS=127.0.0.1 +#SPEEDTEST_PORT=8000 + +# certificats and public key +# those to option are mandatory if you want tu active TLS support +#SPEEDTEST_CERT=/path/to/public.crt +#SPEEDTEST_KEY=/path/to/private.key +# optional CA to validate client +#SPEEDTEST_CA_CERT=/path/to/ca.crt + +# Directory with HTML/js files +#SPEEDTEST_DIR=/usr/lib/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