LoginSignup
1
2

More than 5 years have passed since last update.

apache のリバースプロキシ for kibana

Posted at

ネットワーク環境の制限などでkibana を80 番ポートで受けるための設定

  • kibana 用のconf ファイルを作成
/etc/httpd/conf.d/kibana.conf
ProxyRequests Off
ProxyPreserveHost On

<Location "/kibana">
  ProxyPass "http://localhost:5601"
  ProxyPassReverse "http://localhost:5601"
  RewriteRule "^/kibana/(.*)$" "/$1" [L,PT]
</Location>
  • kibana.yml ではbasePath を設定する
/etc/kibana/kibana.yml
server.port: 5601
server.host: "0.0.0.0"
server.basePath: "/kibana"
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2