comparison production.ini @ 1710:79a06e68a035 beta

changed session to client side encrypted cookie, for better horizontal scalability of rhodecode
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 21 Nov 2011 19:31:23 +0200
parents 5568b0cea3cc
children 1308f068fc1a
comparison
equal deleted inserted replaced
1709:5ca2a5e96793 1710:79a06e68a035
54 commit_parse_limit = 50 54 commit_parse_limit = 50
55 use_gravatar = true 55 use_gravatar = true
56 container_auth_enabled = false 56 container_auth_enabled = false
57 proxypass_auth_enabled = false 57 proxypass_auth_enabled = false
58 58
59 ## available vars 59 ## overwrite schema of clone url
60 ## scheme - http/https 60 # available vars:
61 ## user - current user 61 # scheme - http/https
62 ## pass - password 62 # user - current user
63 ## netloc - network location 63 # pass - password
64 ## path - usually repo_name 64 # netloc - network location
65 clone_uri = {scheme}://{user}{pass}{netloc}{path} 65 # path - usually repo_name
66 # clone_uri = {scheme}://{user}{pass}{netloc}{path}
66 67
67 #################################### 68 ####################################
68 ### CELERY CONFIG #### 69 ### CELERY CONFIG ####
69 #################################### 70 ####################################
70 use_celery = false 71 use_celery = false
134 #db session example 135 #db session example
135 #beaker.session.type = ext:database 136 #beaker.session.type = ext:database
136 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode 137 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
137 #beaker.session.table_name = db_session 138 #beaker.session.table_name = db_session
138 139
139 beaker.session.type = file 140 beaker.session.type = cookie
140
141 beaker.session.key = rhodecode 141 beaker.session.key = rhodecode
142 beaker.session.secret = g654dcno0-9873jhgfreyu 142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
143 beaker.session.validate_key = 9712sds2212c--zxc123
143 beaker.session.timeout = 36000 144 beaker.session.timeout = 36000
144 145
145 ##auto save the session to not to use .save() 146 ##auto save the session to not to use .save()
146 beaker.session.auto = False 147 beaker.session.auto = False
147 148