Hi,
I have wazuh running on an cloud server which does not have a public ip and I can access the dashboard via ssh tunneling. However, I'm not able to access the dashboard with apache proxy, which is on a cloud server with pulic ip. In my apache conf file I have following:
In the developer tools of the browser in the console I have this:
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). login:352:78902
and this:
Loading failed for the <script> with source “https://
mysite.com
/bootstrap.js”. login:358:47
and in the inspector I see a script tag with this:
// Since this is an unsafe inline script, this code will not run
// in browsers that support content security policy(CSP). This is
// intentional as we check for the existence of __osdCspNotEnforced__ in
// bootstrap.
window.__osdCspNotEnforced__ = true;
regars
Andrija