surtur
927bdd03ce
* authorization [WIP] * refactored several sections * used dict(exclude_unset=True) * global values are now sourced from a config file (statuspagerc)
13 lines
390 B
Plaintext
13 lines
390 B
Plaintext
# statuspage configuration file
|
|
|
|
# database file
|
|
DATABASE=sqlite:///sql_app.db
|
|
|
|
# [JWT related parameters]
|
|
# it's imperative you CHANGE JWT_SECRET to a unique value
|
|
# you can generate a random one with 'openssl rand -hex 64'
|
|
JWT_SECRET = 'deadbeefdeafbeefd34db33fdeadbeefdeafbeefd34db33fdeadbeefdeafbeefd34db33f'
|
|
JWT_ALGORITHM = "HS256"
|
|
# token expiration time in seconds
|
|
JWT_EXPIRY = 7200
|