configs: updated docstrings, and made some better defaults.
This commit is contained in:
parent
6985132ee4
commit
faa8b8bf85
2 changed files with 10 additions and 5 deletions
|
|
@ -348,7 +348,7 @@ beaker.cache.repo_cache_long.expire = 2592000
|
|||
beaker.session.type = file
|
||||
beaker.session.data_dir = %(here)s/data/sessions/data
|
||||
|
||||
## db based session, fast, and allows easy management over logged in users ##
|
||||
## db based session, fast, and allows easy management over logged in users
|
||||
#beaker.session.type = ext:database
|
||||
#beaker.session.table_name = db_session
|
||||
#beaker.session.sa.url = postgresql://postgres:secret@localhost/rhodecode
|
||||
|
|
@ -369,6 +369,7 @@ beaker.session.lock_dir = %(here)s/data/sessions/lock
|
|||
## accessed for given amount of time in seconds
|
||||
beaker.session.timeout = 2592000
|
||||
beaker.session.httponly = true
|
||||
## Path to use for the cookie.
|
||||
#beaker.session.cookie_path = /<your-prefix>
|
||||
|
||||
## uncomment for https secure cookie
|
||||
|
|
@ -482,9 +483,10 @@ debug_style = true
|
|||
#########################################################
|
||||
### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
|
||||
#########################################################
|
||||
sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
|
||||
#sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
|
||||
#sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
|
||||
#sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode
|
||||
sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
|
||||
|
||||
# see sqlalchemy docs for other advanced settings
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,8 @@ prefix = /
|
|||
|
||||
[app:main]
|
||||
use = egg:rhodecode-enterprise-ce
|
||||
## enable proxy prefix middleware, defined below
|
||||
|
||||
## enable proxy prefix middleware, defined above
|
||||
#filter-with = proxy-prefix
|
||||
|
||||
## encryption key used to encrypt social plugin tokens,
|
||||
|
|
@ -321,7 +322,7 @@ beaker.cache.repo_cache_long.expire = 2592000
|
|||
beaker.session.type = file
|
||||
beaker.session.data_dir = %(here)s/data/sessions/data
|
||||
|
||||
## db based session, fast, and allows easy management over logged in users ##
|
||||
## db based session, fast, and allows easy management over logged in users
|
||||
#beaker.session.type = ext:database
|
||||
#beaker.session.table_name = db_session
|
||||
#beaker.session.sa.url = postgresql://postgres:secret@localhost/rhodecode
|
||||
|
|
@ -342,6 +343,7 @@ beaker.session.lock_dir = %(here)s/data/sessions/lock
|
|||
## accessed for given amount of time in seconds
|
||||
beaker.session.timeout = 2592000
|
||||
beaker.session.httponly = true
|
||||
## Path to use for the cookie.
|
||||
#beaker.session.cookie_path = /<your-prefix>
|
||||
|
||||
## uncomment for https secure cookie
|
||||
|
|
@ -451,8 +453,9 @@ set debug = false
|
|||
### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
|
||||
#########################################################
|
||||
#sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
|
||||
sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
|
||||
#sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
|
||||
#sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode
|
||||
sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
|
||||
|
||||
# see sqlalchemy docs for other advanced settings
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue