Update readme and add config samples

This commit is contained in:
2022-05-09 22:55:22 +02:00
parent 438725066e
commit 0049ad99de
3 changed files with 28 additions and 2 deletions

12
conf/portal.toml Normal file
View File

@@ -0,0 +1,12 @@
address = "0.0.0.0" # address to which to bind
port = 1337 # port on which to listen for incoming connections
[logging]
json = false # output logs in json format
loglevel = "info" # how much log output to spam
[tls]
ca = "ca.crt" # certificate authority cert/bundle
cert = "portal.crt" # client certificate used during mTLS
key = "portal.key" # client key used during mTLS
insecure = false # setting this to true will make speedrun skip portal's certificate validation step