Server configuration

This commit is contained in:
Dita Aji Pratama 2024-06-17 12:21:48 +07:00
parent ad10b2c618
commit c0b2b7fbbb

12
app/config/server.py Normal file
View File

@ -0,0 +1,12 @@
host = "localhost"
port = 15001
reloader = False
debug = False
server = 'gunicorn' # default = 'wsgiref'
session_opts = {
'session.type': 'file',
'session.cookie_expires': 30*24*60*60, # Session expiration in seconds
'session.data_dir': './.beaker/data',
'session.auto': True
}