##// 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
@@ -131,20 +131,25 b' beaker.cache.sql_cache_long.key_length ='
131 ## Type of storage used for the session, current types are
131 ## Type of storage used for the session, current types are
132 ## dbm, file, memcached, database, and memory.
132 ## dbm, file, memcached, database, and memory.
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()
@@ -131,20 +131,25 b' beaker.cache.sql_cache_long.key_length ='
131 ## Type of storage used for the session, current types are
131 ## Type of storage used for the session, current types are
132 ## dbm, file, memcached, database, and memory.
132 ## dbm, file, memcached, database, and memory.
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()
@@ -153,7 +158,7 b' beaker.session.auto = False'
153 ##true exire at browser close
158 ##true exire at browser close
154 #beaker.session.cookie_expires = 3600
159 #beaker.session.cookie_expires = 3600
155
160
156
161
157 ################################################################################
162 ################################################################################
158 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
163 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
159 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
164 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
@@ -131,20 +131,25 b' beaker.cache.sql_cache_long.key_length ='
131 ## Type of storage used for the session, current types are
131 ## Type of storage used for the session, current types are
132 ## dbm, file, memcached, database, and memory.
132 ## dbm, file, memcached, database, and memory.
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