Skip to content

Commit

Permalink
Changed API configuration step in offline documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 committed Apr 25, 2024
1 parent 822ea93 commit bed6341
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions source/deployment-options/offline-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -444,14 +444,14 @@ Installing the Wazuh dashboard

.. include:: /_templates/installations/dashboard/enable_dashboard.rst

#. **Only for distributed deployments**: Edit the file ``/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml`` and replace the ``url`` value with the IP address or hostname of the Wazuh server master node.
#. Edit the file ``/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml`` and replace the ``url`` value with the IP address or hostname of the Wazuh server master node.

.. code-block:: yaml
:emphasize-lines: 3
hosts:
- default:
url: https://localhost
url: https://<wazuh_server_ip>
port: 55000
username: wazuh-wui
password: wazuh-wui
Expand All @@ -463,7 +463,7 @@ Installing the Wazuh dashboard

#. Access the web interface.

- URL: *https://<wazuh_server_ip>*
- URL: *https://<wazuh_dashboard_ip>*
- **Username**: admin
- **Password**: admin

Expand Down
26 changes: 13 additions & 13 deletions source/installation-guide/wazuh-dashboard/step-by-step.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,20 @@ Starting the Wazuh dashboard service
.. include:: /_templates/installations/dashboard/enable_dashboard.rst


**Only for distributed deployments**


#. Edit the ``/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml`` file and replace the ``url`` value with the IP address or hostname of the Wazuh server master node.

.. code-block:: yaml
:emphasize-lines: 3
Edit the ``/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml`` file and replace the ``url`` value with the IP address or hostname of the Wazuh server master node.

.. code-block:: yaml
:emphasize-lines: 3
hosts:
- default:
url: https://localhost
port: 55000
username: wazuh-wui
password: wazuh-wui
run_as: false
hosts:
- default:
url: https://<wazuh_server_ip>
port: 55000
username: wazuh-wui
password: wazuh-wui
run_as: false
#. Access the Wazuh web interface with your credentials.
Expand Down

0 comments on commit bed6341

Please sign in to comment.