I am struggling a while for now, so hopefully you can open my eyes and point me into the right direction.
I am running multiple kibana instances (for different clusters) in docker and also I am running a single httpd server in docker, which I want to use as reverse proxy.
The httpd config shown below is loaded into the virtual host of httpd config.
I got it running when kibana's server.basePath is identically to the directory which apache is proxying with following configuration:
Redirect /kibana /kibana/ ProxyPass /kibana/ http://kibana-poc-test:5601/kibana/ ProxyPassReverse /kibana/ http://kibana-poc-test:5601/kibana/
server.port: 5601 server.host: "0" server.basePath: "/kibana" server.rewriteBasePath: true
Fine so far. But to keep configuration changes between my clusters as low as possible, I would prefer to run kibana in it's container at root path or at a fixed value (e.g. kibana), regardless which cluster it belongs to.
When I just change kibana to
server.basePath: "" server.rewriteBasePath: false
and httpd to
Redirect /kibana /kibana/ ProxyPass /kibana/ http://kibana-poc-test:5601/ ProxyPassReverse /kibana/ http://kibana-poc-test:5601/
kibana UI does not load.
Dev-Console in Browser shows:
GET http://qdetju/bundles/app/space_selector/bootstrap.js net::ERR_ABORTED 404 (Not Found)
-> so the path is not added.
Where is my mistake?
I need a solution for kibana in versions: 6.4 - 7.0.
Thanks a lot, Andreas