aboutsummaryrefslogtreecommitdiff
path: root/config/production.ini
diff options
context:
space:
mode:
Diffstat (limited to 'config/production.ini')
-rw-r--r--config/production.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/production.ini b/config/production.ini
index 647399c..a00e5e2 100644
--- a/config/production.ini
+++ b/config/production.ini
@@ -198,9 +198,9 @@ beaker.cache.sql_cache_long.key_length = 256
## that is also used by the cache system.
## db session ##
-#beaker.session.type = ext:database
-#beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
-#beaker.session.table_name = db_session
+beaker.session.type = ext:database
+beaker.session.sa.url = postgresql://rhodecode:XXXX@localhost/rhodecode
+beaker.session.table_name = db_session
## encrypted cookie client side session, good for many instances ##
#beaker.session.type = cookie
@@ -214,7 +214,7 @@ beaker.session.key = rhodecode
#beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
#beaker.session.validate_key = 9712sds2212c--zxc123
## sets session as invalid if it haven't been accessed for given amount of time
-beaker.session.timeout = 2592000
+beaker.session.timeout = 648000
beaker.session.httponly = true
#beaker.session.cookie_path = /<your-prefix>