2022-04-16 18:19:38 +00:00
|
|
|
[http]
|
2022-04-19 13:25:56 +00:00
|
|
|
host = "0.0.0.0"
|
2022-09-19 19:13:59 +00:00
|
|
|
httpPort = 8080 # http server port (recommended 80)
|
|
|
|
httpsPort = 8443 # https server port (recommended 443)
|
|
|
|
cors = [ "localhost:8000" ] # CORS domains
|
|
|
|
tlsCert = "./cert.pem" # TLS certificate file
|
|
|
|
tlsKey = "./cert.key" # TLS key file
|
2022-04-19 13:14:17 +00:00
|
|
|
|
|
|
|
[jwt]
|
2022-09-19 19:13:59 +00:00
|
|
|
secret = "secret key used to sign tokens" # jsonwebtoken secret string used to sign tokens
|
|
|
|
expires = 24 # token expiration time in hours (default one day)
|
2022-04-24 19:31:50 +00:00
|
|
|
|
|
|
|
[storage]
|
2022-09-19 19:13:59 +00:00
|
|
|
path = "/home/homedisk" # path to directory where user files will be stored
|