NGINX breaks with Kibana 6.6


(PJ Champion) #1

Probably easy been beating head against wall. First thought issue with kibana because it will state "failed to load" after latest update. Figured out nignx was issue however cant seem to find proper config.

server {
listen 80;

server_name servername;


location / {
    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;
}

}

Kibana config was default everything except elastic. Now I see basepath is different /app/kibana, this server.rewriteBasePath option and defaultapp id. Not going to say how much time I attempted to figure this out. :slight_smile:

Kibana works fine without nginx