I have made the following changes but Apache is not redirecting to Kibana and Kibana is also still directly accessible via 5601 port.
My change details below:
Added following line in kibana.yml:
erver.basePath: "/kibana"
That's the default value. That means Kibana will only listen on localhost. That also means you can reach it using http://localhost:5601 but only on that machine. And the proxy has to be able to reach Kibana so it has to listen on some IP. But only the proxy should be reachable from a connection on another machine.
If you've set server.host to some other value, like the IP address of the machine, or 0.0.0.0, then it will be reachable from another machine.
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.