aboutsummaryrefslogtreecommitdiff
path: root/development.ini
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-07-16 00:40:34 +0200
committerMarcin Kuzminski <marcin@python-works.com>2012-07-16 00:40:34 +0200
commitcecf22416aaffc30b5e0563b7fdd53a85f656364 (patch)
tree43aff5993faf7298c6cd07976b3c156e29267f2e /development.ini
parentacedc993ce0893db8a10d5d56406807dfa66c28c (diff)
added comments into beaker session,
- added cookie_path option as example - added prefix middleware as example usage - increased session timeout to 30days --HG-- branch : beta
Diffstat (limited to 'development.ini')
-rw-r--r--development.ini28
1 files changed, 19 insertions, 9 deletions
diff --git a/development.ini b/development.ini
index 6b472ea9..74584d73 100644
--- a/development.ini
+++ b/development.ini
@@ -43,8 +43,14 @@ use = egg:waitress#main
host = 0.0.0.0
port = 5000
+[filter:proxy-prefix]
+# prefix middleware for rc
+use = egg:PasteDeploy#prefix
+prefix = /<your-prefix>
+
[app:main]
use = egg:rhodecode
+#filter-with = proxy-prefix
full_stack = true
static_files = true
# Optional Languages
@@ -169,30 +175,34 @@ beaker.cache.sql_cache_long.key_length = 256
## The storage uses the Container API
## that is also used by the cache system.
-## db session example
-
+## db session ##
#beaker.session.type = ext:database
#beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
#beaker.session.table_name = db_session
-## encrypted cookie session, good for many instances
+## encrypted cookie client side session, good for many instances ##
#beaker.session.type = cookie
-beaker.session.type = file
+## file based cookies (default) ##
+#beaker.session.type = file
+
+
beaker.session.key = rhodecode
-# secure cookie requires AES python libraries
+## secure cookie requires AES python libraries ##
#beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
#beaker.session.validate_key = 9712sds2212c--zxc123
-beaker.session.timeout = 36000
+## sets session as invalid if it haven't been accessed for given amount of time
+beaker.session.timeout = 2592000
beaker.session.httponly = true
+#beaker.session.cookie_path = /<your-prefix>
-## uncomment for https secure cookie
+## uncomment for https secure cookie ##
beaker.session.secure = false
-##auto save the session to not to use .save()
+## auto save the session to not to use .save() ##
beaker.session.auto = False
-##true exire at browser close
+## default cookie expiration time in seconds `true` expire at browser close ##
#beaker.session.cookie_expires = 3600