Hello,
We are securing Kibana behind nGinx. All setting are done and it asks for id password when we hit URL http://host.ip.address:5601.
What we want is, there should be context root like "/kibana" Or /central_logging.
Where to set this? I kibana4.conf under /etc/nginx/conf.d OR somewhere in kibana.yml?
Below is my Kibana4.conf under nginx conf direcotry.
server{
listen 8001;
server_name kibana-test1;
#charset koi8-r;
#access_log /var/log/nginx/log/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.htpasswd;
proxy_pass http://127.0.0.1:5601;
proxy_read_timeout 90;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
Please guide on this.
br,
Sunil