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