Hi,
We are having an issue while accessing Kibana Dashboard through Nginx reverse proxy.
When we add Location block "/" in Nginx.conf for kibana then we are able to access kibana dashboard through "root", in the backend its making all these calls.
/api
/app
/bundles
/elasticsearch
/kibana
/plugins
/ui
Kibana accessible only if we have just "/" in location block but it's not propery way to access kibana dashboard on Nginx proxy as a root.
so when we added location block seprately for each call, "/api, /app, /bundles, /kibana, /plugins, /ui, /elasticsearch....etc", then again it works, this is going to be big mess adding buch of location blocks in nginx.conf
Example:
Nginx.conf
location / {
proxy_http_version 1.1;
proxy_set_header Connection "";
set $proxy_pass http://<kibana url>:5601;
proxy_pass http://<kibana url>:5601;
proxy_intercept_errors on;
}
Is there a way we can update Dashboard access instead of / to /kibana into kibana configuration so that we can add only one location block /kibana in Nginx.conf so that in the backend it will make all the calls adding /kibana in prefix?
/kibana/api
/kibana/app/kibana
/kibana/bundles
/kibana/elasticsearch
/kibana/kibana
/kibana/plugins
/kibana/ui
Please suggest me what will the recomended way to access kibana Dashboard through Nginx reverse proxy, Thanks.
