Hello,
i'm using kibana behind reverse proxy along side with a node API application that uses elasticsearch.
This is config of NGINX :
location / {
auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/htpasswd.users;
proxy_pass http://localhost:5601/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /api/ {
proxy_pass http://localhost:4000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
with this configuration, kibana starts but shows blank pages when hitting Discover, visualize and others
when i remove the /api part of nginx config, things return to normal
i don't know if it's a problem related to kibana or nginx configuration ??