Show More
@@ -1,7 +1,7 b'' | |||
|
1 | 1 | |
|
2 | 2 | |
|
3 | 3 | ################################################################################ |
|
4 |
## |
|
|
4 | ## RHODECODE COMMUNITY EDITION CONFIGURATION ## | |
|
5 | 5 | # The %(here)s variable will be replaced with the parent directory of this file# |
|
6 | 6 | ################################################################################ |
|
7 | 7 | |
@@ -94,8 +94,10 b' asyncore_use_poll = true' | |||
|
94 | 94 | ## prefix middleware for RhodeCode. |
|
95 | 95 | ## recommended when using proxy setup. |
|
96 | 96 | ## allows to set RhodeCode under a prefix in server. |
|
97 |
## eg https://server.com/ |
|
|
98 |
## |
|
|
97 | ## eg https://server.com/custom_prefix. Enable `filter-with =` option below as well. | |
|
98 | ## And set your prefix like: `prefix = /custom_prefix` | |
|
99 | ## be sure to also set beaker.session.cookie_path = /custom_prefix if you need | |
|
100 | ## to make your cookies only work on prefix url | |
|
99 | 101 | [filter:proxy-prefix] |
|
100 | 102 | use = egg:PasteDeploy#prefix |
|
101 | 103 | prefix = / |
@@ -194,17 +196,17 b' rss_items_per_page = 10' | |||
|
194 | 196 | rss_include_diff = false |
|
195 | 197 | |
|
196 | 198 | ## gist URL alias, used to create nicer urls for gist. This should be an |
|
197 |
## url that does rewrites to _admin/gists/ |
|
|
199 | ## url that does rewrites to _admin/gists/{gistid}. | |
|
198 | 200 | ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal |
|
199 |
## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/ |
|
|
201 | ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/{gistid} | |
|
200 | 202 | gist_alias_url = |
|
201 | 203 | |
|
202 | 204 | ## List of controllers (using glob pattern syntax) that AUTH TOKENS could be |
|
203 | 205 | ## used for access. |
|
204 |
## Adding ?auth_token |
|
|
206 | ## Adding ?auth_token=TOKEN_HASH to the url authenticates this request as if it | |
|
205 | 207 | ## came from the the logged in user who own this authentication token. |
|
206 | 208 | ## |
|
207 |
## Syntax is |
|
|
209 | ## Syntax is ControllerClass:function_pattern. | |
|
208 | 210 | ## To enable access to raw_files put `FilesController:raw`. |
|
209 | 211 | ## To enable access to patches add `ChangesetController:changeset_patch`. |
|
210 | 212 | ## The list should be "," separated and on a single line. |
@@ -377,15 +379,15 b' beaker.session.lock_dir = %(here)s/data/' | |||
|
377 | 379 | |
|
378 | 380 | ## Secure encrypted cookie. Requires AES and AES python libraries |
|
379 | 381 | ## you must disable beaker.session.secret to use this |
|
380 |
#beaker.session.encrypt_key = |
|
|
381 |
#beaker.session.validate_key = |
|
|
382 | #beaker.session.encrypt_key = key_for_encryption | |
|
383 | #beaker.session.validate_key = validation_key | |
|
382 | 384 | |
|
383 | 385 | ## sets session as invalid(also logging out user) if it haven not been |
|
384 | 386 | ## accessed for given amount of time in seconds |
|
385 | 387 | beaker.session.timeout = 2592000 |
|
386 | 388 | beaker.session.httponly = true |
|
387 | ## Path to use for the cookie. | |
|
388 |
#beaker.session.cookie_path = / |
|
|
389 | ## Path to use for the cookie. Set to prefix if you use prefix middleware | |
|
390 | #beaker.session.cookie_path = /custom_prefix | |
|
389 | 391 | |
|
390 | 392 | ## uncomment for https secure cookie |
|
391 | 393 | beaker.session.secure = false |
@@ -403,8 +405,8 b' beaker.session.auto = false' | |||
|
403 | 405 | ## Full text search indexer is available in rhodecode-tools under |
|
404 | 406 | ## `rhodecode-tools index` command |
|
405 | 407 | |
|
406 | # WHOOSH Backend, doesn't require additional services to run | |
|
407 | # it works good with few dozen repos | |
|
408 | ## WHOOSH Backend, doesn't require additional services to run | |
|
409 | ## it works good with few dozen repos | |
|
408 | 410 | search.module = rhodecode.lib.index.whoosh |
|
409 | 411 | search.location = %(here)s/data/index |
|
410 | 412 | |
@@ -511,7 +513,7 b' sqlalchemy.db1.url = sqlite:///%(here)s/' | |||
|
511 | 513 | |
|
512 | 514 | ## print the sql statements to output |
|
513 | 515 | sqlalchemy.db1.echo = false |
|
514 |
## recycle the connections after this am |
|
|
516 | ## recycle the connections after this amount of seconds | |
|
515 | 517 | sqlalchemy.db1.pool_recycle = 3600 |
|
516 | 518 | sqlalchemy.db1.convert_unicode = true |
|
517 | 519 | |
@@ -533,18 +535,19 b' vcs.server = localhost:9900' | |||
|
533 | 535 | |
|
534 | 536 | ## Web server connectivity protocol, responsible for web based VCS operatations |
|
535 | 537 | ## Available protocols are: |
|
536 |
## `pyro4` - us |
|
|
537 |
## `http` - us |
|
|
538 | ## `pyro4` - use pyro4 server | |
|
539 | ## `http` - use http-rpc backend (default) | |
|
538 | 540 | vcs.server.protocol = http |
|
539 | 541 | |
|
540 | 542 | ## Push/Pull operations protocol, available options are: |
|
541 |
## `pyro4` - us |
|
|
542 |
## `http` - us |
|
|
543 | ## `pyro4` - use pyro4 server | |
|
544 | ## `http` - use http-rpc backend (default) | |
|
545 | ## | |
|
543 | 546 | vcs.scm_app_implementation = http |
|
544 | 547 | |
|
545 | 548 | ## Push/Pull operations hooks protocol, available options are: |
|
546 |
## `pyro4` - us |
|
|
547 |
## `http` - us |
|
|
549 | ## `pyro4` - use pyro4 server | |
|
550 | ## `http` - use http-rpc backend (default) | |
|
548 | 551 | vcs.hooks.protocol = http |
|
549 | 552 | |
|
550 | 553 | vcs.server.log_level = debug |
@@ -573,8 +576,8 b' svn.proxy.generate_config = false' | |||
|
573 | 576 | svn.proxy.list_parent_path = true |
|
574 | 577 | ## Set location and file name of generated config file. |
|
575 | 578 | svn.proxy.config_file_path = %(here)s/mod_dav_svn.conf |
|
576 |
## Used as a prefix to the |
|
|
577 | ## most cases it should be set to `/`. | |
|
579 | ## Used as a prefix to the `Location` block in the generated config file. | |
|
580 | ## In most cases it should be set to `/`. | |
|
578 | 581 | svn.proxy.location_root = / |
|
579 | 582 | ## Command to reload the mod dav svn configuration on change. |
|
580 | 583 | ## Example: `/etc/init.d/apache2 reload` |
@@ -511,6 +511,7 b' vcs.server.protocol = http' | |||
|
511 | 511 | ## Push/Pull operations protocol, available options are: |
|
512 | 512 | ## `pyro4` - use pyro4 server |
|
513 | 513 | ## `http` - use http-rpc backend (default) |
|
514 | ## | |
|
514 | 515 | vcs.scm_app_implementation = http |
|
515 | 516 | |
|
516 | 517 | ## Push/Pull operations hooks protocol, available options are: |
@@ -544,7 +545,7 b' svn.proxy.generate_config = false' | |||
|
544 | 545 | svn.proxy.list_parent_path = true |
|
545 | 546 | ## Set location and file name of generated config file. |
|
546 | 547 | svn.proxy.config_file_path = %(here)s/mod_dav_svn.conf |
|
547 |
## Used as a prefix to the |
|
|
548 | ## Used as a prefix to the `Location` block in the generated config file. | |
|
548 | 549 | ## In most cases it should be set to `/`. |
|
549 | 550 | svn.proxy.location_root = / |
|
550 | 551 | ## Command to reload the mod dav svn configuration on change. |
General Comments 0
You need to be logged in to leave comments.
Login now