# Kibana でのリバースプロキシ設定

**URL:** <https://discuss.elastic.co/t/kibana/267627>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [March 18, 2021, 8:52am UTC](https://discuss.elastic.co/t/kibana/267627 "2021-03-18T08:52:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![taku333](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taku333/32/40375_2.png) [@taku333](https://discuss.elastic.co/u/taku333)\
**Post date:** [March 19, 2021, 4:11am UTC](https://discuss.elastic.co/t/kibana/267627/2 "2021-03-19T04:11:12Z")

</div>

こんばんは、

xpack.security.enabled: false を設定してログイン認証をOFFにする方法があります。  
こちらはセキュリティ的に危険になるのでお勧めしません。

そう考えると、リバースプロキシ設定にproxy\_set\_header Authorization（nginx）などを反映するとかですかね。

> [@Auto-authenticating to iframe-embedded Kibana dashboard](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091/4):
>
> You can pass the Authorization header as Joe suggests using an nginx proxy. Here is the relevant section of my nginx.conf: server { listen 4443 ssl; # the default was port 443 server\_name tim-virtual-machine.local; ssl\_certificate /home/tim/domain.crt; ssl\_certificate\_key /home/tim/domain.key; ssl\_session\_cache shared:SSL:1m; ssl\_session\_timeout 5m; ssl\_ciphers HIGH:!aNULL:!MD5; ssl\_prefer\_server\_ciphers on; location / { …

リバースプロキシ側で認証を肩代わりしてくれるようになります。

---

_[View the full topic](https://discuss.elastic.co/t/kibana/267627)._
