I am using the Kibana UI through nginx. From my application we use the URL “http/s:/app/kibana”. This is the only URL that can be used to access Kibana UI, From the Kibana UI after user logs out and logs in again the URL with /app/kibana is lost and we are not able to access Kibana UI.
Everything works fine if we do not use nginx and the URL used is http://:5601 since the URL remains the same during first log in screen and log in screen after log out.
The only URL we allow in the application is http:///app/kibana. So the URL for first log in screen contains the next URL in query param(http:///app/kibana) but the log in screen after log out does not contain the same and the page gets redirected to http:// which is not accepted.
With the nginx changes:
First login URL:
Post logout, login URL:
Please suggest if there is any way to fix this issue. Is there any configuration available which I am missing out on?
Kibana Search guard version: searchguard-kibana-5.5.1-4