# server.basePath assistance

**URL:** <https://discuss.elastic.co/t/server-basepath-assistance/102766>\
**Category:** Kibana\
**Created:** [October 4, 2017, 9:22pm UTC](https://discuss.elastic.co/t/server-basepath-assistance/102766 "2017-10-04T21:22:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roquefort](https://avatars.discourse-cdn.com/v4/letter/r/8797f3/32.png) [@roquefort](https://discuss.elastic.co/u/roquefort)\
**Post date:** [October 4, 2017, 9:22pm UTC](https://discuss.elastic.co/t/server-basepath-assistance/102766/1 "2017-10-04T21:22:04Z")

</div>

Greetings,

I have been struggling to figure out how to proxy Kibana requests on my Docker swarm mode cluster. I am using the "Traefik" reverse proxy, and this works perfectly for domain-based Kibana (e.g. "[kibana.domain.com](http://kibana.domain.com)"). I am using the official 5.5.2 Kibana image, with X-Pack removed from the Dockerfile.

What doesn't work is the server.basePath setting. I'm trying to configure Kibana to respect "[domain.com/kibana](http://domain.com/kibana)", but all I'm getting is 404 pages. My settings are as follows:

kibana.yml:

- server.basePath: "/kibana"
- server.host: "0.0.0.0/0"

Traefik labels:

- traefik.frontend.rule=Host:domain.com;PathPrefixStrip:/kibana (alternatively, "PathStrip:/kibana")

I don't understand what I'm missing, and I have completely run out of ideas. If anyone could offer me some advise, it would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [October 4, 2017, 10:46pm UTC](https://discuss.elastic.co/t/server-basepath-assistance/102766/2 "2017-10-04T22:46:11Z")

</div>

> server.host: "0.0.0.0/0"

Can I ask what the "/0" at the end is for?

---

<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:** [November 1, 2017, 10:46pm UTC](https://discuss.elastic.co/t/server-basepath-assistance/102766/3 "2017-11-01T22:46:25Z")

</div>

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