I have a raspberry pi with 3 docker containers running.
Nginx
Elasticsearch
Kibana
Accessing through Kibana works through localhost but my plan is to keep Elasticsearch behind the local intranet and only expose Kibana via my reverse proxy. Here are my configs:
I added basic authentication at the nginx level and that worked. This makes zero sense. Why do I need to sign in to the server just to access kibana? Kibana should be the one asking me for login credentials, not my nginx server.
Thanks for sharing what worked for you, @moondc. I found this community guide a little while back while researching another question which may help explain things a bit more.
I do not currently have SSL setup for inside my domain.
As a side note, it would've been nice to be able to selectively choose whether to have a basepath based on accessing from internal or external.
For example I can either configure it to work on http://localhost:5601 or https://mydomain.com/kibana but not both due to my local setup not using a reverse proxy and therefore the basePath would be wrong. I could've setup a reverse proxy for my local development environment but that's not necessary for my needs.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.