# Reverse proxy behind nginx docker container not working Kibana 6.2.3

**URL:** https://discuss.elastic.co/t/reverse-proxy-behind-nginx-docker-container-not-working-kibana-6-2-3/157466
**Category:** Kibana
**Tags:** docker
**Created:** [November 20, 2018, 4:11am UTC](https://discuss.elastic.co/t/reverse-proxy-behind-nginx-docker-container-not-working-kibana-6-2-3/157466 "2018-11-20T04:11:43Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![aap](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@aap](https://discuss.elastic.co/u/aap)
#### Post date: [November 29, 2018, 10:24pm UTC](https://discuss.elastic.co/t/reverse-proxy-behind-nginx-docker-container-not-working-kibana-6-2-3/157466/15 "2018-11-29T22:24:44Z")

</div>

@jarpy @spalger, I have an update. I am getting a 200 from kibana (with the configs shared – sorry for my mistake).

It appears that the path is not getting altered by the `kibana.yml`. I thought the `server.basePath` would append the value provided to the path, such that if I request [https://foo/kibana](https://foo/kibana), I'd get back, `https://foo/kibana/app/kibana/etc`, instead if I request `https://foo/kibana`, I get back `https://foo/app/kibana`.

Thank you for your patience with my mistakes, again any guidance you can provide, would be greatly appreciated.

This curl is from the nginx host:

```auto
# curl http://kibana:5601
<script>var hashRoute = '/app/kibana';
var defaultRoute = '/app/kibana';

var hash = window.location.hash;
if (hash.length) {
  window.location = hashRoute + hash;
} else {
  window.location = defaultRoute;
}</script>#

```

---

_[View the full topic](https://discuss.elastic.co/t/reverse-proxy-behind-nginx-docker-container-not-working-kibana-6-2-3/157466)._
