# Expose a specific dasboard behind a static URL through Apache/Nginx proxy

**URL:** <https://discuss.elastic.co/t/expose-a-specific-dasboard-behind-a-static-url-through-apache-nginx-proxy/109101>\
**Category:** Kibana\
**Created:** [November 25, 2017, 10:31am UTC](https://discuss.elastic.co/t/expose-a-specific-dasboard-behind-a-static-url-through-apache-nginx-proxy/109101 "2017-11-25T10:31:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shortsteps](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@shortsteps](https://discuss.elastic.co/u/shortsteps)\
**Post date:** [November 25, 2017, 10:31am UTC](https://discuss.elastic.co/t/expose-a-specific-dasboard-behind-a-static-url-through-apache-nginx-proxy/109101/1 "2017-11-25T10:31:30Z")

</div>

Hi all,  
we have a Kibana 5.5.2 installation with many Dasboards configured, all works great connecting to IP:5601.

A customer asked us to let his own dasboard be reachable under a specific hostname. We tried a lot of configurations trough Apache and Nginx proxy but we didn't succeed.

Here you are more details:

- customer wants to go to something like [http://dasboard.customer.com](http://dasboard.customer.com) and see the dashboard in embedded mode (full screen). The url must stay "static" (no context or values appended behind .com)

- we configured Apache to proxy this Virtual Host towards the specific "snapshot short url" given by Kibana (the one with the /goto/some-alphanumeric-code context), but we get lots of Kibana errors or 404 (maybe a lot of resorces get lots and not remapped with that kind of proxyPass)

Could someone give us any tip or example? Ask me if you need extra infos.  
Thanks a lot!

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [November 28, 2017, 4:39am UTC](https://discuss.elastic.co/t/expose-a-specific-dasboard-behind-a-static-url-through-apache-nginx-proxy/109101/2 "2017-11-28T04:39:56Z")

</div>

I would honestly serve [dashboard.customer.com](http://dashboard.customer.com) a simple HTML page with an IFRAME of the dashboard. You then can have Kibana under whatever domain/path you wish.

 ![36](https://us1.discourse-cdn.com/elastic/original/3X/f/1/f13419792a6788dfbbfa52d89690b208a3499326.png)

```auto
<html>
<head>
  <style>
    body {
      margin: 0;
    }

    iframe {
      max-width: 100%;
      width: 100%;
      height: 100%;
      overflow: hidden;
      border: none;
      margin: auto;
    }
  </style>
</head>
<body>
  <iframe
    src="https://localhost:5601/app/kibana#/dashboard/6a9dbc60-d3f5-11e7-9041-4f306979a9bc?embed=true&_g=()"
    scrolling="no"
  ></iframe>
</body>
</html>

```

---

<div class="post-metadata">

**Author:** ![shortsteps](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@shortsteps](https://discuss.elastic.co/u/shortsteps)\
**Post date:** [December 13, 2017, 11:22am UTC](https://discuss.elastic.co/t/expose-a-specific-dasboard-behind-a-static-url-through-apache-nginx-proxy/109101/3 "2017-12-13T11:22:28Z")

</div>

Thanks a lot, in the end I used your suggestion.  
I simply put that html code in /var/www/html/index.html. I used the shorten link as src [https://localhost:5601/goto/59a0cd9d5b20600031114818b6ac0dd5?embed=true](https://localhost:5601/goto/59a0cd9d5b20600031114818b6ac0dd5?embed=true) , but I assume it's not relevant.

---

<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:** [January 10, 2018, 11:22am UTC](https://discuss.elastic.co/t/expose-a-specific-dasboard-behind-a-static-url-through-apache-nginx-proxy/109101/4 "2018-01-10T11:22:33Z")

</div>

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