docs: fixed config files path for editing settings...
This commit is contained in:
parent
d684cf1f5d
commit
0f1fbf4ccc
17 changed files with 23 additions and 23 deletions
|
|
@ -8,7 +8,7 @@ level of support to optimize for production scenarios. To enable lab settings,
|
|||
use the following instructions:
|
||||
|
||||
1. Open the |RCE| configuration file,
|
||||
:file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini`
|
||||
:file:`config/_shared/rhodecode.ini`
|
||||
|
||||
2. Add the following configuration option in the ``[app:main]`` section.
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ information see the :ref:`apache-ws-ref` section.
|
|||
|
||||
|RCE| can also be configured to force strict *https* connections and Strict
|
||||
Transport Security. To set this, configure the following options to ``true``
|
||||
in the :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file.
|
||||
in the :file:`config/_shared/rhodecode.ini` file.
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ see the `OpenSSL PKI tutorial`_ site, or this `Cloudflare PKI post`_.
|
|||
|
||||
If the network you are running is SSL/TLS encrypted, you can configure |RCE|
|
||||
to always use secure connections using the ``force_https`` and ``use_htsts``
|
||||
options in the :file:`/home/user/.rccontrol/instance-id/rhodecode.ini` file.
|
||||
options in the :file:`config/_shared/rhodecode.ini` file.
|
||||
For more details, see the :ref:`x-frame` section.
|
||||
|
||||
FireWalls and Ports
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ For example:
|
|||
Configuration Files
|
||||
-------------------
|
||||
|
||||
* :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini`
|
||||
* :file:`config/_shared/rhodecode.ini`
|
||||
* :file:`/home/{user}/.rccontrol/{instance-id}/search_mapping.ini`
|
||||
* :file:`/home/{user}/.rccontrol/{vcsserver-id}/vcsserver.ini`
|
||||
* :file:`/home/{user}/.rccontrol/supervisor/supervisord.ini`
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ Changing Default Language
|
|||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
To change the default language of a |RCE| instance, change the language code
|
||||
in the :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file. To
|
||||
in the :file:`config/_shared/rhodecode.ini` file. To
|
||||
do this, use the following steps.
|
||||
|
||||
1. Open the :file:`rhodecode.ini` file and set the required language code.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ sections.
|
|||
|
||||
\- **rhodecode.ini**
|
||||
Default location:
|
||||
:file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini`
|
||||
:file:`config/_shared/rhodecode.ini`
|
||||
|
||||
This is the main |RCE| configuration file and controls much of its
|
||||
default behaviour. It is also used to configure certain customer
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ track particular user logs only, and exclude other concurrent ones
|
|||
simply grep by `req_id` uuid which you'll have to find for the individual request.
|
||||
|
||||
To enable debug mode on a |RCE| instance you need to set the debug property
|
||||
in the :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file. To
|
||||
in the :file:`config/_shared/rhodecode.ini` file. To
|
||||
do this, use the following steps
|
||||
|
||||
1. Open the file and set the ``debug`` line to ``true``
|
||||
|
|
@ -38,7 +38,7 @@ Debug and Logging Configuration
|
|||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Further debugging and logging settings can also be set in the
|
||||
:file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file.
|
||||
:file:`config/_shared/rhodecode.ini` file.
|
||||
|
||||
In the logging section, the various packages that run with |RCE| can have
|
||||
different debug levels set. If you want to increase the logging level change
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ permission issues could occur. To do this edit the ``/etc/apache2/envvars``
|
|||
:guilabel:`Subversion HTTP Server URL`.
|
||||
|
||||
3. Open the |RCE| configuration file,
|
||||
:file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini`
|
||||
:file:`config/_shared/rhodecode.ini`
|
||||
|
||||
4. Add the following configuration option in the ``[app:main]``
|
||||
section if you don't have it yet.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ Change Default Encoding
|
|||
-----------------------
|
||||
|
||||
|RCE| uses ``utf8`` encoding by default. You can change the default encoding
|
||||
in the :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file. To
|
||||
in the :file:`config/_shared/rhodecode.ini` file. To
|
||||
change the default encoding used by |RCE|, set a new value for the
|
||||
``default_encoding``.
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ When using external authentication tools such as LDAP with |hg|, a
|
|||
password retry loop in |hg| can result in users being locked out due to too
|
||||
many failed password attempts. To prevent this from happening, add the
|
||||
following setting to your
|
||||
:file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file, in the
|
||||
:file:`config/_shared/rhodecode.ini` file, in the
|
||||
``[app:main]`` section.
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ Each one should already connect to shared database during installation.
|
|||
|
||||
1) Assuming our final url will be http://rc-node-1, Configure `instances_id`, `app.base_url`
|
||||
|
||||
a) On **rc-node-2** find the following settings and edit :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini`
|
||||
a) On **rc-node-2** find the following settings and edit :file:`config/_shared/rhodecode.ini`
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ a) On **rc-node-2** find the following settings and edit :file:`/home/{user}/.rc
|
|||
app.base_url = http://rc-node-1
|
||||
|
||||
|
||||
b) On **rc-node-3** find the following settings and edit :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini`
|
||||
b) On **rc-node-3** find the following settings and edit :file:`config/_shared/rhodecode.ini`
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ b) On **rc-node-3** find the following settings and edit :file:`/home/{user}/.rc
|
|||
|
||||
2) Configure `User Session` to use a shared database. Example config that should be
|
||||
changed on both **rc-node-2** and **rc-node-3** .
|
||||
Edit :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini`
|
||||
Edit :file:`config/_shared/rhodecode.ini`
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
|
|
@ -163,7 +163,7 @@ persistent sessions across nodes. Please generate other one then in this example
|
|||
|
||||
4) Use shared exception store. Example config that should be
|
||||
changed on both **rc-node-2** and **rc-node-3**, and also for VCSServer.
|
||||
Edit :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` and
|
||||
Edit :file:`config/_shared/rhodecode.ini` and
|
||||
:file:`/home/{user}/.rccontrol/{vcsserver-instance-id}/vcsserver.ini`
|
||||
and add/change following setting.
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ scalability, and maintainability we recommend switching from file-based
|
|||
sessions to database-based user sessions or Redis based sessions.
|
||||
|
||||
To switch to database-based user sessions uncomment the following section in
|
||||
your :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file.
|
||||
your :file:`config/_shared/rhodecode.ini` file.
|
||||
|
||||
|
||||
.. code-block:: ini
|
||||
|
|
@ -49,7 +49,7 @@ uses, or if required it can be a different one. We recommend to use the same dat
|
|||
|
||||
|
||||
To switch to redis-based user sessions uncomment the following section in
|
||||
your :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file.
|
||||
your :file:`config/_shared/rhodecode.ini` file.
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ To configure a |RCE| instance to use a VCS server, see
|
|||
The following list shows the available options on the |RCE| side of the
|
||||
connection to the VCS Server. The settings are configured per
|
||||
instance in the
|
||||
:file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file.
|
||||
:file:`config/_shared/rhodecode.ini` file.
|
||||
|
||||
.. rst-class:: dl-horizontal
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue