[Apache] Proxypass

Because the default web port of Elasticsearch is 9200.
And I want to change it with 80.
Maybe I could use the proxypass function.

  1. enable the proxy, and restart apache

  1. add following into the /etc/apache2/sites-enabled/000-default.conf

  1. edit the kibana config (vim /var/www/kibana/config.js)

<

pre lang=”bash”>
elasticsearch: “http://”+window.location.hostname+”/kibana9200”,

This entry was posted in Apache, Elasticsearch, Kibana. Bookmark the permalink.