-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add https related configuration for the HAProxy section #7403
Conversation
source/user-manual/manager/configuring-cluster/advanced-settings.rst
Outdated
Show resolved
Hide resolved
source/user-manual/manager/configuring-cluster/advanced-settings.rst
Outdated
Show resolved
Hide resolved
source/user-manual/manager/configuring-cluster/advanced-settings.rst
Outdated
Show resolved
Hide resolved
user: | ||
- insecure: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user: | |
- insecure: true | |
user: | |
- insecure: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This modification raises the following: configuration error: configuration file /etc/haproxy/dataplaneapi.yml not valid (only yaml format is supported): yaml: line 14: did not find expected '-' indicator
The suggested configuration follows the alignment mentioned in the official Dataplane repo example.
- :ref:`haproxy_address <haproxy_address>`: IP or DNS address to connect with HAProxy. | ||
- :ref:`haproxy_user <haproxy_user>`: Username to authenticate with HAProxy. | ||
- :ref:`haproxy_password <haproxy_password>`: Password to authenticate with HAProxy. | ||
- :ref:`haproxy_protocol <haproxy_protocol>`: HTTPS protocol to use for the HAProxy Dataplane API communication. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- :ref:`haproxy_protocol <haproxy_protocol>`: HTTPS protocol to use for the HAProxy Dataplane API communication. | |
- :ref:`haproxy_protocol <haproxy_protocol>`: Protocol to use for the HAProxy Dataplane API communication. Must be ``https``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the last sentence to It is recommended to set it to https
since http
is also allowed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used must
because this is the HTTPS tab, so in order to use an encrypted connection, setting HTTP doesn't work. But it's OK if you want to leave it like that
Description
Closes wazuh/wazuh#23997. Adds the necessary configuration for the HAProxy Dataplane API and the
haproxy_helper
section to usehttps
as the communication protocol.Checks
Docs building
Code formatting and web optimization
redirects.js
script if necessary (check this guide).Writing style
code
font for Bash commands, file names, REST paths, and code.