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' timeout = 21600' | |||
|
94 | 94 | ## prefix middleware for RhodeCode, disables force_https flag. |
|
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 = / |
@@ -168,17 +170,17 b' rss_items_per_page = 10' | |||
|
168 | 170 | rss_include_diff = false |
|
169 | 171 | |
|
170 | 172 | ## gist URL alias, used to create nicer urls for gist. This should be an |
|
171 |
## url that does rewrites to _admin/gists/ |
|
|
173 | ## url that does rewrites to _admin/gists/{gistid}. | |
|
172 | 174 | ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal |
|
173 |
## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/ |
|
|
175 | ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/{gistid} | |
|
174 | 176 | gist_alias_url = |
|
175 | 177 | |
|
176 | 178 | ## List of controllers (using glob pattern syntax) that AUTH TOKENS could be |
|
177 | 179 | ## used for access. |
|
178 |
## Adding ?auth_token |
|
|
180 | ## Adding ?auth_token=TOKEN_HASH to the url authenticates this request as if it | |
|
179 | 181 | ## came from the the logged in user who own this authentication token. |
|
180 | 182 | ## |
|
181 |
## Syntax is |
|
|
183 | ## Syntax is ControllerClass:function_pattern. | |
|
182 | 184 | ## To enable access to raw_files put `FilesController:raw`. |
|
183 | 185 | ## To enable access to patches add `ChangesetController:changeset_patch`. |
|
184 | 186 | ## The list should be "," separated and on a single line. |
@@ -351,15 +353,15 b' beaker.session.lock_dir = %(here)s/data/' | |||
|
351 | 353 | |
|
352 | 354 | ## Secure encrypted cookie. Requires AES and AES python libraries |
|
353 | 355 | ## you must disable beaker.session.secret to use this |
|
354 |
#beaker.session.encrypt_key = |
|
|
355 |
#beaker.session.validate_key = |
|
|
356 | #beaker.session.encrypt_key = key_for_encryption | |
|
357 | #beaker.session.validate_key = validation_key | |
|
356 | 358 | |
|
357 | 359 | ## sets session as invalid(also logging out user) if it haven not been |
|
358 | 360 | ## accessed for given amount of time in seconds |
|
359 | 361 | beaker.session.timeout = 2592000 |
|
360 | 362 | beaker.session.httponly = true |
|
361 | ## Path to use for the cookie. | |
|
362 |
#beaker.session.cookie_path = / |
|
|
363 | ## Path to use for the cookie. Set to prefix if you use prefix middleware | |
|
364 | #beaker.session.cookie_path = /custom_prefix | |
|
363 | 365 | |
|
364 | 366 | ## uncomment for https secure cookie |
|
365 | 367 | beaker.session.secure = false |
@@ -377,8 +379,8 b' beaker.session.auto = false' | |||
|
377 | 379 | ## Full text search indexer is available in rhodecode-tools under |
|
378 | 380 | ## `rhodecode-tools index` command |
|
379 | 381 | |
|
380 | # WHOOSH Backend, doesn't require additional services to run | |
|
381 | # it works good with few dozen repos | |
|
382 | ## WHOOSH Backend, doesn't require additional services to run | |
|
383 | ## it works good with few dozen repos | |
|
382 | 384 | search.module = rhodecode.lib.index.whoosh |
|
383 | 385 | search.location = %(here)s/data/index |
|
384 | 386 | |
@@ -480,7 +482,7 b' sqlalchemy.db1.url = postgresql://postgr' | |||
|
480 | 482 | |
|
481 | 483 | ## print the sql statements to output |
|
482 | 484 | sqlalchemy.db1.echo = false |
|
483 |
## recycle the connections after this am |
|
|
485 | ## recycle the connections after this amount of seconds | |
|
484 | 486 | sqlalchemy.db1.pool_recycle = 3600 |
|
485 | 487 | sqlalchemy.db1.convert_unicode = true |
|
486 | 488 | |
@@ -542,8 +544,8 b' svn.proxy.generate_config = false' | |||
|
542 | 544 | svn.proxy.list_parent_path = true |
|
543 | 545 | ## Set location and file name of generated config file. |
|
544 | 546 | svn.proxy.config_file_path = %(here)s/mod_dav_svn.conf |
|
545 |
## Used as a prefix to the <Location> block in the generated config file. |
|
|
546 | ## most cases it should be set to `/`. | |
|
547 | ## Used as a prefix to the <Location> block in the generated config file. | |
|
548 | ## In most cases it should be set to `/`. | |
|
547 | 549 | svn.proxy.location_root = / |
|
548 | 550 | |
|
549 | 551 |
General Comments 0
You need to be logged in to leave comments.
Login now