##// END OF EJS Templates
sync test.ini file with upstream
marcink -
r3381:c48a3381 beta
parent child Browse files
Show More
@@ -29,35 +29,77 b' pdebug = false'
29 #smtp_auth =
29 #smtp_auth =
30
30
31 [server:main]
31 [server:main]
32 ## PASTE
32 ##nr of threads to spawn
33 ##nr of threads to spawn
33 threadpool_workers = 5
34 threadpool_workers = 5
34
35
35 ##max request before thread respawn
36 ##max request before thread respawn
36 threadpool_max_requests = 2
37 threadpool_max_requests = 10
37
38
38 ##option to use threads of process
39 ##option to use threads of process
39 use_threadpool = true
40 use_threadpool = true
40
41
41 use = egg:Paste#http
42 use = egg:Paste#http
42 #use = egg:waitress#main
43
44 #WAITRESS
45 threads = 5
46 use = egg:waitress#main
47
43 host = 127.0.0.1
48 host = 127.0.0.1
44 port = 5000
49 port = 8001
50
51 [filter:proxy-prefix]
52 # prefix middleware for rc
53 use = egg:PasteDeploy#prefix
54 prefix = /<your-prefix>
45
55
46 [app:main]
56 [app:main]
47 use = egg:rhodecode
57 use = egg:rhodecode
58 #filter-with = proxy-prefix
48 full_stack = true
59 full_stack = true
49 static_files = true
60 static_files = true
50 lang=en
61 # Optional Languages
62 # en, fr, ja, pt_BR, zh_CN, zh_TW, pl
63 lang = en
51 cache_dir = /tmp/rc/data
64 cache_dir = /tmp/rc/data
52 index_dir = /tmp/rc/index
65 index_dir = /tmp/rc/index
53 app_instance_uuid = develop-test
66 app_instance_uuid = develop-test
54 cut_off_limit = 256000
67 cut_off_limit = 256000
68 vcs_full_cache = True
69 # force https in RhodeCode, fixes https redirects, assumes it's always https
55 force_https = false
70 force_https = false
71 # use Strict-Transport-Security headers
72 use_htsts = false
56 commit_parse_limit = 25
73 commit_parse_limit = 25
74 # number of items displayed in lightweight dashboard before paginating
75 dashboard_items = 100
57 use_gravatar = true
76 use_gravatar = true
77
78 # path to git executable
79 git_path = git
80
81 ## RSS feed options
82
83 rss_cut_off_limit = 256000
84 rss_items_per_page = 10
85 rss_include_diff = false
86
87
88 ## alternative_gravatar_url allows you to use your own avatar server application
89 ## the following parts of the URL will be replaced
90 ## {email} user email
91 ## {md5email} md5 hash of the user email (like at gravatar.com)
92 ## {size} size of the image that is expected from the server application
93 ## {scheme} http/https from RhodeCode server
94 ## {netloc} network location from RhodeCode server
95 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size}
96 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size}
97
58 container_auth_enabled = false
98 container_auth_enabled = false
59 proxypass_auth_enabled = false
99 proxypass_auth_enabled = false
60
100 ## default encoding used to convert from and to unicode
101 ## can be also a comma seperated list of encoding in case of mixed encodings
102 default_encoding = utf8
61
103
62 ## overwrite schema of clone url
104 ## overwrite schema of clone url
63 ## available vars:
105 ## available vars:
@@ -79,7 +121,8 b' proxypass_auth_enabled = false'
79 issue_pat = (?:\s*#)(\d+)
121 issue_pat = (?:\s*#)(\d+)
80
122
81 ## server url to the issue, each {id} will be replaced with match
123 ## server url to the issue, each {id} will be replaced with match
82 ## fetched from the regex and {repo} is replaced with repository name
124 ## fetched from the regex and {repo} is replaced with full repository name
125 ## including groups {repo_name} is replaced with just name of repo
83
126
84 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
127 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
85
128
@@ -88,11 +131,21 b' issue_server_link = https://myissueserve'
88
131
89 issue_prefix = #
132 issue_prefix = #
90
133
134 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
135 ## multiple patterns, to other issues server, wiki or others
136 ## below an example how to create a wiki pattern
137 # #wiki-some-id -> https://mywiki.com/some-id
138
139 #issue_pat_wiki = (?:wiki-)(.+)
140 #issue_server_link_wiki = https://mywiki.com/{id}
141 #issue_prefix_wiki = WIKI-
142
143
91 ## instance-id prefix
144 ## instance-id prefix
92 ## a prefix key for this instance used for cache invalidation when running
145 ## a prefix key for this instance used for cache invalidation when running
93 ## multiple instances of rhodecode, make sure it's globally unique for
146 ## multiple instances of rhodecode, make sure it's globally unique for
94 ## all running rhodecode instances. Leave empty if you don't use it
147 ## all running rhodecode instances. Leave empty if you don't use it
95 instance_id =
148 instance_id =
96
149
97 ## alternative return HTTP header for failed authentication. Default HTTP
150 ## alternative return HTTP header for failed authentication. Default HTTP
98 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
151 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
@@ -166,30 +219,34 b' beaker.cache.sql_cache_long.key_length ='
166 ## The storage uses the Container API
219 ## The storage uses the Container API
167 ## that is also used by the cache system.
220 ## that is also used by the cache system.
168
221
169 ## db session example
222 ## db session ##
170
171 #beaker.session.type = ext:database
223 #beaker.session.type = ext:database
172 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
224 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
173 #beaker.session.table_name = db_session
225 #beaker.session.table_name = db_session
174
226
175 ## encrypted cookie session, good for many instances
227 ## encrypted cookie client side session, good for many instances ##
176 #beaker.session.type = cookie
228 #beaker.session.type = cookie
177
229
178 beaker.session.type = file
230 ## file based cookies (default) ##
231 #beaker.session.type = file
232
233
179 beaker.session.key = rhodecode
234 beaker.session.key = rhodecode
180 # secure cookie requires AES python libraries
235 ## secure cookie requires AES python libraries ##
181 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
236 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
182 #beaker.session.validate_key = 9712sds2212c--zxc123
237 #beaker.session.validate_key = 9712sds2212c--zxc123
183 beaker.session.timeout = 36000
238 ## sets session as invalid if it haven't been accessed for given amount of time
239 beaker.session.timeout = 3600
184 beaker.session.httponly = true
240 beaker.session.httponly = true
241 #beaker.session.cookie_path = /<your-prefix>
185
242
186 ## uncomment for https secure cookie
243 ## uncomment for https secure cookie ##
187 beaker.session.secure = false
244 beaker.session.secure = false
188
245
189 ##auto save the session to not to use .save()
246 ## auto save the session to not to use .save() ##
190 beaker.session.auto = False
247 beaker.session.auto = False
191
248
192 ##true exire at browser close
249 ## default cookie expiration time in seconds `true` expire at browser close ##
193 #beaker.session.cookie_expires = 3600
250 #beaker.session.cookie_expires = 3600
194
251
195
252
@@ -198,7 +255,7 b' beaker.session.auto = False'
198 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
255 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
199 ## execute malicious code after an exception is raised. ##
256 ## execute malicious code after an exception is raised. ##
200 ################################################################################
257 ################################################################################
201 #set debug = false
258 set debug = false
202
259
203 ##################################
260 ##################################
204 ### LOGVIEW CONFIG ###
261 ### LOGVIEW CONFIG ###
General Comments 0
You need to be logged in to leave comments. Login now