Added sessions redis settings to config.py.sample

This commit is contained in:
Antonio de la Rosa 2017-02-07 01:41:28 +01:00
parent 0d1c953880
commit 07bd474563

View file

@ -71,18 +71,22 @@ domain_url='http://localhost:8080'
key_encrypt="im smoking fool"
# Options for use redis for sessions, more scalable.
"""
session_opts = {
#'session.domain': 'domain.com',
'session.cookie_expires': True,
'session.type': 'cookie',
'session.path': '/',
'session.auto': True,
'session.path': base_url,
'session.key': cookie_name,
'session.validate_key': key_encrypt
'session.type': 'redis',
'session.host': 'localhost',
'session.port': 6379,
'session.db': 0
}
"""
# Options for use files for sessions
session_opts = {
'session.path': base_url,