Mercurial > kallithea
comparison production.ini @ 3098:a5f0bc867edc rhodecode-0.0.1.5.0
merge with beta
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 13 Dec 2012 22:54:21 +0100 |
parents | d6ac3baaa15a a797ada9d2ad |
children | 3563bb7b4b82 |
comparison
equal
deleted
inserted
replaced
2909:52b1c6de19c2 | 3098:a5f0bc867edc |
---|---|
27 #smtp_use_ssl = true | 27 #smtp_use_ssl = true |
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) | 28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) |
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 = 10 | 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 |
43 | |
44 #WAITRESS | |
45 threads = 5 | |
42 use = egg:waitress#main | 46 use = egg:waitress#main |
47 | |
43 host = 127.0.0.1 | 48 host = 127.0.0.1 |
44 port = 8001 | 49 port = 8001 |
45 | 50 |
46 [filter:proxy-prefix] | 51 [filter:proxy-prefix] |
47 # prefix middleware for rc | 52 # prefix middleware for rc |
52 use = egg:rhodecode | 57 use = egg:rhodecode |
53 #filter-with = proxy-prefix | 58 #filter-with = proxy-prefix |
54 full_stack = true | 59 full_stack = true |
55 static_files = true | 60 static_files = true |
56 # Optional Languages | 61 # Optional Languages |
57 # en, fr, ja, pt_BR, zh_CN, zh_TW | 62 # en, fr, ja, pt_BR, zh_CN, zh_TW, pl |
58 lang = en | 63 lang = en |
59 cache_dir = %(here)s/data | 64 cache_dir = %(here)s/data |
60 index_dir = %(here)s/data/index | 65 index_dir = %(here)s/data/index |
61 app_instance_uuid = rc-production | 66 app_instance_uuid = rc-production |
62 cut_off_limit = 256000 | 67 cut_off_limit = 256000 |
68 vcs_full_cache = True | |
63 force_https = false | 69 force_https = false |
64 commit_parse_limit = 50 | 70 commit_parse_limit = 50 |
71 # number of items displayed in lightweight dashboard before paginating | |
72 dashboard_items = 100 | |
65 use_gravatar = true | 73 use_gravatar = true |
74 | |
75 ## RSS feed options | |
76 | |
77 rss_cut_off_limit = 256000 | |
78 rss_items_per_page = 10 | |
79 rss_include_diff = false | |
80 | |
66 | 81 |
67 ## alternative_gravatar_url allows you to use your own avatar server application | 82 ## alternative_gravatar_url allows you to use your own avatar server application |
68 ## the following parts of the URL will be replaced | 83 ## the following parts of the URL will be replaced |
69 ## {email} user email | 84 ## {email} user email |
70 ## {md5email} md5 hash of the user email (like at gravatar.com) | 85 ## {md5email} md5 hash of the user email (like at gravatar.com) |
74 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} | 89 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} |
75 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} | 90 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} |
76 | 91 |
77 container_auth_enabled = false | 92 container_auth_enabled = false |
78 proxypass_auth_enabled = false | 93 proxypass_auth_enabled = false |
94 ## default encoding used to convert from and to unicode | |
95 ## can be also a comma seperated list of encoding in case of mixed encodings | |
79 default_encoding = utf8 | 96 default_encoding = utf8 |
80 | 97 |
81 ## overwrite schema of clone url | 98 ## overwrite schema of clone url |
82 ## available vars: | 99 ## available vars: |
83 ## scheme - http/https | 100 ## scheme - http/https |
225 | 242 |
226 ## default cookie expiration time in seconds `true` expire at browser close ## | 243 ## default cookie expiration time in seconds `true` expire at browser close ## |
227 #beaker.session.cookie_expires = 3600 | 244 #beaker.session.cookie_expires = 3600 |
228 | 245 |
229 | 246 |
247 ############################ | |
248 ## ERROR HANDLING SYSTEMS ## | |
249 ############################ | |
250 | |
251 #################### | |
252 ### [errormator] ### | |
253 #################### | |
254 | |
255 # Errormator is tailored to work with RhodeCode, see | |
256 # http://errormator.com for details how to obtain an account | |
257 # you must install python package `errormator_client` to make it work | |
258 | |
259 # errormator enabled | |
260 errormator = true | |
261 | |
262 errormator.server_url = https://api.errormator.com | |
263 errormator.api_key = YOUR_API_KEY | |
264 | |
265 # TWEAK AMOUNT OF INFO SENT HERE | |
266 | |
267 # enables 404 error logging (default False) | |
268 errormator.report_404 = false | |
269 | |
270 # time in seconds after request is considered being slow (default 1) | |
271 errormator.slow_request_time = 1 | |
272 | |
273 # record slow requests in application | |
274 # (needs to be enabled for slow datastore recording and time tracking) | |
275 errormator.slow_requests = true | |
276 | |
277 # enable hooking to application loggers | |
278 # errormator.logging = true | |
279 | |
280 # minimum log level for log capture | |
281 # errormator.logging.level = WARNING | |
282 | |
283 # send logs only from erroneous/slow requests | |
284 # (saves API quota for intensive logging) | |
285 errormator.logging_on_error = false | |
286 | |
287 # list of additonal keywords that should be grabbed from environ object | |
288 # can be string with comma separated list of words in lowercase | |
289 # (by default client will always send following info: | |
290 # 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that | |
291 # start with HTTP* this list be extended with additional keywords here | |
292 errormator.environ_keys_whitelist = | |
293 | |
294 | |
295 # list of keywords that should be blanked from request object | |
296 # can be string with comma separated list of words in lowercase | |
297 # (by default client will always blank keys that contain following words | |
298 # 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf' | |
299 # this list be extended with additional keywords set here | |
300 errormator.request_keys_blacklist = | |
301 | |
302 | |
303 # list of namespaces that should be ignores when gathering log entries | |
304 # can be string with comma separated list of namespaces | |
305 # (by default the client ignores own entries: errormator_client.client) | |
306 errormator.log_namespace_blacklist = | |
307 | |
308 | |
309 ################ | |
310 ### [sentry] ### | |
311 ################ | |
312 | |
313 # sentry is a alternative open source error aggregator | |
314 # you must install python packages `sentry` and `raven` to enable | |
315 | |
316 sentry.dsn = YOUR_DNS | |
317 sentry.servers = | |
318 sentry.name = | |
319 sentry.key = | |
320 sentry.public_key = | |
321 sentry.secret_key = | |
322 sentry.project = | |
323 sentry.site = | |
324 sentry.include_paths = | |
325 sentry.exclude_paths = | |
326 | |
327 | |
230 ################################################################################ | 328 ################################################################################ |
231 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## | 329 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## |
232 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## | 330 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## |
233 ## execute malicious code after an exception is raised. ## | 331 ## execute malicious code after an exception is raised. ## |
234 ################################################################################ | 332 ################################################################################ |