##// END OF EJS Templates
default session settings was reverted to file....
marcink -
r1771:5948ab03 beta
parent child Browse files
Show More
@@ -33,7 +33,7 b' pdebug = false'
33 threadpool_workers = 5
33 threadpool_workers = 5
34
34
35 ##max request before thread respawn
35 ##max request before thread respawn
36 threadpool_max_requests = 6
36 threadpool_max_requests = 10
37
37
38 ##option to use threads of process
38 ##option to use threads of process
39 use_threadpool = true
39 use_threadpool = true
@@ -133,18 +133,23 b' beaker.cache.sql_cache_long.key_length ='
133 ## The storage uses the Container API
133 ## The storage uses the Container API
134 ##that is also used by the cache system.
134 ## that is also used by the cache system.
135
135
136 #db session example
136 ## db session example
137
137 #beaker.session.type = ext:database
138 #beaker.session.type = ext:database
138 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
139 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
139 #beaker.session.table_name = db_session
140 #beaker.session.table_name = db_session
140
141
141 beaker.session.type = cookie
142 ## encrypted cookie session, good for many instances
143 #beaker.session.type = cookie
144
145 beaker.session.type = file
142 beaker.session.key = rhodecode
146 beaker.session.key = rhodecode
143 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
147 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
144 beaker.session.validate_key = 9712sds2212c--zxc123
148 beaker.session.validate_key = 9712sds2212c--zxc123
145 beaker.session.timeout = 36000
149 beaker.session.timeout = 36000
146 beaker.session.httponly = true
150 beaker.session.httponly = true
147 # uncomment for https secure cookie
151
152 ## uncomment for https secure cookie
148 beaker.session.secure = false
153 beaker.session.secure = false
149
154
150 ##auto save the session to not to use .save()
155 ##auto save the session to not to use .save()
@@ -133,18 +133,23 b' beaker.cache.sql_cache_long.key_length ='
133 ## The storage uses the Container API
133 ## The storage uses the Container API
134 ##that is also used by the cache system.
134 ## that is also used by the cache system.
135
135
136 #db session example
136 ## db session example
137
137 #beaker.session.type = ext:database
138 #beaker.session.type = ext:database
138 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
139 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
139 #beaker.session.table_name = db_session
140 #beaker.session.table_name = db_session
140
141
141 beaker.session.type = cookie
142 ## encrypted cookie session, good for many instances
143 #beaker.session.type = cookie
144
145 beaker.session.type = file
142 beaker.session.key = rhodecode
146 beaker.session.key = rhodecode
143 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
147 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
144 beaker.session.validate_key = 9712sds2212c--zxc123
148 beaker.session.validate_key = 9712sds2212c--zxc123
145 beaker.session.timeout = 36000
149 beaker.session.timeout = 36000
146 beaker.session.httponly = true
150 beaker.session.httponly = true
147 # uncomment for https secure cookie
151
152 ## uncomment for https secure cookie
148 beaker.session.secure = false
153 beaker.session.secure = false
149
154
150 ##auto save the session to not to use .save()
155 ##auto save the session to not to use .save()
@@ -133,18 +133,23 b' beaker.cache.sql_cache_long.key_length ='
133 ## The storage uses the Container API
133 ## The storage uses the Container API
134 ##that is also used by the cache system.
134 ## that is also used by the cache system.
135
135
136 #db session example
136 ## db session example
137
137 #beaker.session.type = ext:database
138 #beaker.session.type = ext:database
138 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
139 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
139 #beaker.session.table_name = db_session
140 #beaker.session.table_name = db_session
140
141
141 beaker.session.type = cookie
142 ## encrypted cookie session, good for many instances
143 #beaker.session.type = cookie
144
145 beaker.session.type = file
142 beaker.session.key = rhodecode
146 beaker.session.key = rhodecode
143 beaker.session.encrypt_key = ${app_instance_secret}
147 beaker.session.encrypt_key = ${app_instance_secret}
144 beaker.session.validate_key = ${app_instance_secret}
148 beaker.session.validate_key = ${app_instance_secret}
145 beaker.session.timeout = 36000
149 beaker.session.timeout = 36000
146 beaker.session.httponly = true
150 beaker.session.httponly = true
147 # uncomment for https secure cookie
151
152 ## uncomment for https secure cookie
148 beaker.session.secure = false
153 beaker.session.secure = false
149
154
150 ##auto save the session to not to use .save()
155 ##auto save the session to not to use .save()
General Comments 0
You need to be logged in to leave comments. Login now