You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
582 B
TOML
16 lines
582 B
TOML
[http]
|
|
host = "0.0.0.0"
|
|
httpPort = 8080 # http server port (recommended 80)
|
|
enableHttps = true # if true start https server and http will be redirect to https
|
|
httpsPort = 8443 # https server port (recommended 443)
|
|
cors = [ "localhost:8000" ] # CORS domains
|
|
tlsCert = "./cert.pem" # TLS certificate file
|
|
tlsKey = "./cert.key" # TLS key file
|
|
|
|
[jwt]
|
|
secret = "secret key used to sign tokens" # jsonwebtoken secret string used to sign tokens
|
|
expires = 24 # token expiration time in hours (default one day)
|
|
|
|
[storage]
|
|
path = "storage" # path to directory where user files will be stored
|