Sellery/config.toml

23 lines
804 B
TOML
Raw Permalink Normal View History

2022-04-08 21:00:17 +02:00
# Sellery configuration file
# Serve files from this directory (Path must be absolute)
# Use $WORKING_DIR to subsitute the current working directory
2022-04-08 22:48:51 +02:00
# So, if you want to serve relative paths, use:
# $WORKING_DIR/relative/path
# Paths should NOT end with a '/'!
2022-04-10 04:47:17 +02:00
WEBROOT = '/var/www/html'
2022-04-08 21:00:17 +02:00
# This is the SHA512 digest to check the password against
PASSWD_HASH = '034ff213a060a0888230c3934cfb1cb1f80ab3f211a114b713598efac2d1a68f8d3402c6b08ace2f3990c4c029351d1141cf47ebc378fc9a83a5dddda6e38a8c'
2022-04-08 21:00:17 +02:00
# Sessions stay valid this many seconds, if inactive. Default: 600 (=10 minutes)
SESSION_DURATION = 600
2022-04-08 22:48:51 +02:00
# The port the webserver runs on. Default: 443 (=https)
2022-04-08 21:41:43 +02:00
WEBSERVER_PORT = 443
# SSL key and certificate (you have to generate these yourself!)
SSL_KEY_FILE = 'key.pem'
SSL_CERT_FILE = 'cert.pem'
2022-04-08 21:41:43 +02:00