read settings and meta routes

This commit is contained in:
realaravinth
2021-10-31 15:12:12 +05:30
parent 60f6a57363
commit 4f922c725c
4 changed files with 280 additions and 0 deletions

14
config/default.toml Normal file
View File

@@ -0,0 +1,14 @@
debug = true
source_code = "https://github.com/realaravinth/libmedium"
[server]
# The port at which you want authentication to listen to
# takes a number, choose from 1000-10000 if you dont know what you are doing
port = 7000
#IP address. Enter 0.0.0.0 to listen on all availale addresses
ip= "0.0.0.0"
# enter your hostname, eg: example.com
domain = "localhost"
allow_registration = true
proxy_has_tls = false
#workers = 2