# Apache Reverse Proxy for Kibana 5

**URL:** <https://discuss.elastic.co/t/apache-reverse-proxy-for-kibana-5/88815>\
**Category:** Kibana\
**Created:** [June 9, 2017, 9:41am UTC](https://discuss.elastic.co/t/apache-reverse-proxy-for-kibana-5/88815 "2017-06-09T09:41:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dilemoverflow](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@dilemoverflow](https://discuss.elastic.co/u/dilemoverflow)\
**Post date:** [June 9, 2017, 9:41am UTC](https://discuss.elastic.co/t/apache-reverse-proxy-for-kibana-5/88815/1 "2017-06-09T09:41:01Z")

</div>

Hi there,

First of all, sorry for my English.

I'm working on a POC for a futur project. I'm testing different solutions like Kibana, Graylog and some others.

Kibana is very great, really. But unfortunately, I have to take off your solution of my list because it's just impossible to simply configure Kibana 5 behind an Apache Reverse Proxy (https//URL/kibana).

I'm working on this problem since one week, and I still have 404 problems. That's sad, but I think I'll have to give up.

There is no official documentation about this problem, and all the "working" solutions on Google did not works for me ☹ (Plus: The larger part of the solutions are for a Nginx reverse proxy.)

So, here is my last S.O.S:

Did someone already succeed to configure an Apache Reverse Proxy (Apache 2.4.10) for Kibana 5 ? ([https://server/kibana](https://server/kibana)). I can't use subdomains. And if yes... Can you show me your Apache Configuration (And if needed, your kibana.yml) ?

Thx a lot !

* * *

My kibana.yml:

```
server.host: "localhost"
#server.basePath: "/kibana"

```

* * *

My apache reverse proxy conf:

```
ProxyPass /kibana http://127.0.0.1:5601/
ProxyPassReverse /kibana http://127.0.0.1:5601/

```

* * *

Result: https://server\_ip/kibana =\> 404 page not found

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [June 9, 2017, 6:38pm UTC](https://discuss.elastic.co/t/apache-reverse-proxy-for-kibana-5/88815/2 "2017-06-09T18:38:58Z")

</div>

Hey, I haven't tried configuring an Apache Reverse Proxy for Kibana, but there are a couple posts on the forum which look relevant:

- [Elastic Search Behind Apache Reverse Proxy But Kibana Faces Problems Accessing ES](https://discuss.elastic.co/t/elastic-search-behind-apache-reverse-proxy-but-kibana-faces-problems-accessing-es/31801/4)
- [[4.3.0] how to configure your nginx balancer and apache reverse proxy](https://discuss.elastic.co/t/4-3-0-how-to-configure-your-nginx-balancer-and-apache-reverse-proxy/37351/2)

Can you take a look and let me know if either of these help?

Thanks,  
CJ

---

<div class="post-metadata">

**Author:** ![yodog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yodog/32/4822_2.png) [@yodog](https://discuss.elastic.co/u/yodog)\
**Post date:** [June 9, 2017, 7:02pm UTC](https://discuss.elastic.co/t/apache-reverse-proxy-for-kibana-5/88815/3 "2017-06-09T19:02:25Z")

</div>

> it's just impossible to simply configure Kibana 5 behind an Apache Reverse Proxy

Impossible? Right...

> There is no official documentation

> **[Tips to secure Elasticsearch clusters for free with encryption, users, and more](https://www.elastic.co/blog/tips-to-secure-elasticsearch-clusters-for-free-with-encryption-users-and-more)**
>
> Elasticsearch security is now free. This post revisits and updates best practices for securing your clusters, including transport layer security (TLS), native and file realm authentication, authorization features, cluster and node isolation, Kibana...

> all the "working" solutions on Google

450 results found: [reverse proxy site:elastic.co - Google Search](https://goo.gl/STbVCP)  
have you tried them all?

> Did someone already succeed to configure an Apache Reverse Proxy (Apache 2.4.10) for Kibana 5 ?

yes. with this guide:

> [@\[4.3.0 \] how to configure your nginx balancer and apache reverse proxy](https://discuss.elastic.co/t/4-3-0-how-to-configure-your-nginx-balancer-and-apache-reverse-proxy/37351/1):
>
> problem solved. solution below the question. could someone please help me reconfigure my nginx balancer? i have 3 elk nodes behind a UDP/TCP balancer (round-robin). |----------------| | | | elk-balancer | | | | 80,514,9200 | |----------------| | --------------------------------------- | …

---

<div class="post-metadata">

**Author:** ![stecino](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@stecino](https://discuss.elastic.co/u/stecino)\
**Post date:** [June 9, 2017, 9:32pm UTC](https://discuss.elastic.co/t/apache-reverse-proxy-for-kibana-5/88815/4 "2017-06-09T21:32:10Z")

</div>

I have apache proxy pass working for Kibana 4.5 but I am assuming should be the same for 5.4 as well

server.host: "0.0.0.0"  
server.basePath: "/blue"

```
   ProxyPass /blue/ https://localhost:5601/
   ProxyPassReverse /(.*) https://localhost:5601/blue/(.*)
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 7, 2017, 9:32pm UTC](https://discuss.elastic.co/t/apache-reverse-proxy-for-kibana-5/88815/5 "2017-07-07T21:32:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
