Show More
@@ -8,7 +8,7 b' level of support to optimize for product' | |||
|
8 | 8 | use the following instructions: |
|
9 | 9 | |
|
10 | 10 | 1. Open the |RCE| configuration file, |
|
11 |
:file:` |
|
|
11 | :file:`config/_shared/rhodecode.ini` | |
|
12 | 12 | |
|
13 | 13 | 2. Add the following configuration option in the ``[app:main]`` section. |
|
14 | 14 |
@@ -42,7 +42,7 b' information see the :ref:`apache-ws-ref`' | |||
|
42 | 42 | |
|
43 | 43 | |RCE| can also be configured to force strict *https* connections and Strict |
|
44 | 44 | Transport Security. To set this, configure the following options to ``true`` |
|
45 |
in the :file:` |
|
|
45 | in the :file:`config/_shared/rhodecode.ini` file. | |
|
46 | 46 | |
|
47 | 47 | .. code-block:: ini |
|
48 | 48 |
@@ -83,7 +83,7 b' see the `OpenSSL PKI tutorial`_ site, or' | |||
|
83 | 83 | |
|
84 | 84 | If the network you are running is SSL/TLS encrypted, you can configure |RCE| |
|
85 | 85 | to always use secure connections using the ``force_https`` and ``use_htsts`` |
|
86 |
options in the :file:` |
|
|
86 | options in the :file:`config/_shared/rhodecode.ini` file. | |
|
87 | 87 | For more details, see the :ref:`x-frame` section. |
|
88 | 88 | |
|
89 | 89 | FireWalls and Ports |
@@ -78,7 +78,7 b' For example:' | |||
|
78 | 78 | Configuration Files |
|
79 | 79 | ------------------- |
|
80 | 80 | |
|
81 |
* :file:` |
|
|
81 | * :file:`config/_shared/rhodecode.ini` | |
|
82 | 82 | * :file:`/home/{user}/.rccontrol/{instance-id}/search_mapping.ini` |
|
83 | 83 | * :file:`/home/{user}/.rccontrol/{vcsserver-id}/vcsserver.ini` |
|
84 | 84 | * :file:`/home/{user}/.rccontrol/supervisor/supervisord.ini` |
@@ -188,7 +188,7 b' Changing Default Language' | |||
|
188 | 188 | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
189 | 189 | |
|
190 | 190 | To change the default language of a |RCE| instance, change the language code |
|
191 |
in the :file:` |
|
|
191 | in the :file:`config/_shared/rhodecode.ini` file. To | |
|
192 | 192 | do this, use the following steps. |
|
193 | 193 | |
|
194 | 194 | 1. Open the :file:`rhodecode.ini` file and set the required language code. |
@@ -11,7 +11,7 b' sections.' | |||
|
11 | 11 | |
|
12 | 12 | \- **rhodecode.ini** |
|
13 | 13 | Default location: |
|
14 |
:file:` |
|
|
14 | :file:`config/_shared/rhodecode.ini` | |
|
15 | 15 | |
|
16 | 16 | This is the main |RCE| configuration file and controls much of its |
|
17 | 17 | default behaviour. It is also used to configure certain customer |
@@ -14,7 +14,7 b' track particular user logs only, and exc' | |||
|
14 | 14 | simply grep by `req_id` uuid which you'll have to find for the individual request. |
|
15 | 15 | |
|
16 | 16 | To enable debug mode on a |RCE| instance you need to set the debug property |
|
17 |
in the :file:` |
|
|
17 | in the :file:`config/_shared/rhodecode.ini` file. To | |
|
18 | 18 | do this, use the following steps |
|
19 | 19 | |
|
20 | 20 | 1. Open the file and set the ``debug`` line to ``true`` |
@@ -38,7 +38,7 b' Debug and Logging Configuration' | |||
|
38 | 38 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
39 | 39 | |
|
40 | 40 | Further debugging and logging settings can also be set in the |
|
41 |
:file:` |
|
|
41 | :file:`config/_shared/rhodecode.ini` file. | |
|
42 | 42 | |
|
43 | 43 | In the logging section, the various packages that run with |RCE| can have |
|
44 | 44 | different debug levels set. If you want to increase the logging level change |
@@ -134,7 +134,7 b' 2. Go to the :menuselection:`Admin --> S' | |||
|
134 | 134 | :guilabel:`Subversion HTTP Server URL`. |
|
135 | 135 | |
|
136 | 136 | 3. Open the |RCE| configuration file, |
|
137 |
:file:` |
|
|
137 | :file:`config/_shared/rhodecode.ini` | |
|
138 | 138 | |
|
139 | 139 | 4. Add the following configuration option in the ``[app:main]`` |
|
140 | 140 | section if you don't have it yet. |
@@ -4,7 +4,7 b' Change Default Encoding' | |||
|
4 | 4 | ----------------------- |
|
5 | 5 | |
|
6 | 6 | |RCE| uses ``utf8`` encoding by default. You can change the default encoding |
|
7 |
in the :file:` |
|
|
7 | in the :file:`config/_shared/rhodecode.ini` file. To | |
|
8 | 8 | change the default encoding used by |RCE|, set a new value for the |
|
9 | 9 | ``default_encoding``. |
|
10 | 10 |
@@ -7,7 +7,7 b' When using external authentication tools' | |||
|
7 | 7 | password retry loop in |hg| can result in users being locked out due to too |
|
8 | 8 | many failed password attempts. To prevent this from happening, add the |
|
9 | 9 | following setting to your |
|
10 |
:file:` |
|
|
10 | :file:`config/_shared/rhodecode.ini` file, in the | |
|
11 | 11 | ``[app:main]`` section. |
|
12 | 12 | |
|
13 | 13 |
@@ -100,7 +100,7 b' Each one should already connect to share' | |||
|
100 | 100 | |
|
101 | 101 | 1) Assuming our final url will be http://rc-node-1, Configure `instances_id`, `app.base_url` |
|
102 | 102 | |
|
103 |
a) On **rc-node-2** find the following settings and edit :file:` |
|
|
103 | a) On **rc-node-2** find the following settings and edit :file:`config/_shared/rhodecode.ini` | |
|
104 | 104 | |
|
105 | 105 | .. code-block:: ini |
|
106 | 106 | |
@@ -109,7 +109,7 b' a) On **rc-node-2** find the following s' | |||
|
109 | 109 | app.base_url = http://rc-node-1 |
|
110 | 110 | |
|
111 | 111 | |
|
112 |
b) On **rc-node-3** find the following settings and edit :file:` |
|
|
112 | b) On **rc-node-3** find the following settings and edit :file:`config/_shared/rhodecode.ini` | |
|
113 | 113 | |
|
114 | 114 | .. code-block:: ini |
|
115 | 115 | |
@@ -121,7 +121,7 b' b) On **rc-node-3** find the following s' | |||
|
121 | 121 | |
|
122 | 122 | 2) Configure `User Session` to use a shared database. Example config that should be |
|
123 | 123 | changed on both **rc-node-2** and **rc-node-3** . |
|
124 |
Edit :file:` |
|
|
124 | Edit :file:`config/_shared/rhodecode.ini` | |
|
125 | 125 | |
|
126 | 126 | .. code-block:: ini |
|
127 | 127 | |
@@ -163,7 +163,7 b' 3) Configure stored cached/archive cache' | |||
|
163 | 163 | |
|
164 | 164 | 4) Use shared exception store. Example config that should be |
|
165 | 165 | changed on both **rc-node-2** and **rc-node-3**, and also for VCSServer. |
|
166 |
Edit :file:` |
|
|
166 | Edit :file:`config/_shared/rhodecode.ini` and | |
|
167 | 167 | :file:`/home/{user}/.rccontrol/{vcsserver-instance-id}/vcsserver.ini` |
|
168 | 168 | and add/change following setting. |
|
169 | 169 |
@@ -15,7 +15,7 b' scalability, and maintainability we reco' | |||
|
15 | 15 | sessions to database-based user sessions or Redis based sessions. |
|
16 | 16 | |
|
17 | 17 | To switch to database-based user sessions uncomment the following section in |
|
18 |
your :file:` |
|
|
18 | your :file:`config/_shared/rhodecode.ini` file. | |
|
19 | 19 | |
|
20 | 20 | |
|
21 | 21 | .. code-block:: ini |
@@ -49,7 +49,7 b' uses, or if required it can be a differe' | |||
|
49 | 49 | |
|
50 | 50 | |
|
51 | 51 | To switch to redis-based user sessions uncomment the following section in |
|
52 |
your :file:` |
|
|
52 | your :file:`config/_shared/rhodecode.ini` file. | |
|
53 | 53 | |
|
54 | 54 | .. code-block:: ini |
|
55 | 55 |
@@ -52,7 +52,7 b' To configure a |RCE| instance to use a V' | |||
|
52 | 52 | The following list shows the available options on the |RCE| side of the |
|
53 | 53 | connection to the VCS Server. The settings are configured per |
|
54 | 54 | instance in the |
|
55 |
:file:` |
|
|
55 | :file:`config/_shared/rhodecode.ini` file. | |
|
56 | 56 | |
|
57 | 57 | .. rst-class:: dl-horizontal |
|
58 | 58 |
@@ -27,7 +27,7 b' of views that have API access enabled by' | |||
|
27 | 27 | edit the |RCE| configuration ``.ini`` file. The default location is: |
|
28 | 28 | |
|
29 | 29 | * |RCE| Pre-2.2.7 :file:`root/rhodecode/data/production.ini` |
|
30 |
* |RCE| 3.0 :file:` |
|
|
30 | * |RCE| 3.0 :file:`config/_shared/rhodecode.ini` | |
|
31 | 31 | |
|
32 | 32 | To configure the white list, edit this section of the file. In this |
|
33 | 33 | configuration example, API access is granted to the patch/diff raw file and |
@@ -87,7 +87,7 b' 3. Set base_url for instance to enable p' | |||
|
87 | 87 | Hostname is required for the integration to properly set the instance URL. |
|
88 | 88 | |
|
89 | 89 | When your hostname is known (e.g https://code.rhodecode.com) please set it |
|
90 |
inside :file:` |
|
|
90 | inside :file:`config/_shared/rhodecode.ini` | |
|
91 | 91 | |
|
92 | 92 | add into `[app:main]` section the following configuration: |
|
93 | 93 | |
@@ -111,7 +111,7 b' 4. Add the public key to your user accou' | |||
|
111 | 111 | |
|
112 | 112 | In case of connection problems please set |
|
113 | 113 | `ssh.enable_debug_logging = true` inside the SSH configuration of |
|
114 |
:file:` |
|
|
114 | :file:`config/_shared/rhodecode.ini` | |
|
115 | 115 | Then add, remove your SSH key and try connecting again. |
|
116 | 116 | Debug logging will be printed to help find the problems on the server side. |
|
117 | 117 |
@@ -4,7 +4,7 b' Set up Email' | |||
|
4 | 4 | ------------ |
|
5 | 5 | |
|
6 | 6 | To setup email with your |RCE| instance, open the default |
|
7 | :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` | |
|
7 | :file:`config/_shared/rhodecode.ini` | |
|
8 | 8 | file and uncomment and configure the email section. If it is not there, |
|
9 | 9 | use the below example to insert it. |
|
10 | 10 |
@@ -27,7 +27,7 b' 1. Install a new instance of |RCE|, choo' | |||
|
27 | 27 | |
|
28 | 28 | Once the new instance is installed you need to update the licence token and |
|
29 | 29 | database connection string in the |
|
30 |
:file:` |
|
|
30 | :file:`config/_shared/rhodecode.ini` file. | |
|
31 | 31 | |
|
32 | 32 | .. code-block:: bash |
|
33 | 33 |
General Comments 0
You need to be logged in to leave comments.
Login now