Dear
I have deployed wazuh / wazuh: 3.6.1_6.4.0 in a docker installation, behind a reverse proxy (nginx)
I get 404 answer, because it's not going through the reverse proxy.
The problem occurs only when you do the health check.
The rest of the wazuh functionalities work well.
I have en /var/ossec/api/configuration/config.js:
// Basic configuration
// Path
config.ossec_path = "/var/ossec";
// The host to bind the API to.
config.host = "0.0.0.0";
// TCP Port used by the API.
config.port = "55000";
// Use HTTP protocol over TLS/SSL. Values: yes, no.
config.https = "yes";
// Use HTTP authentication. Values: yes, no.
config.basic_auth = "yes";
//In case the API run behind a proxy server, turn to "yes" this feature. Values: yes, no.
config.BehindProxyServer = "yes";
I hope you can help me
regards