# Kibana base path

**URL:** <https://discuss.elastic.co/t/kibana-base-path/362615>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [July 5, 2024, 1:30pm UTC](https://discuss.elastic.co/t/kibana-base-path/362615 "2024-07-05T13:30:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Louw\_Claassens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/louw_claassens/32/133102_2.png) [@Louw\_Claassens](https://discuss.elastic.co/u/Louw_Claassens)\
**Post date:** [July 5, 2024, 1:30pm UTC](https://discuss.elastic.co/t/kibana-base-path/362615/1 "2024-07-05T13:30:54Z")

</div>

I set an ingress for Kibana for the route /kibana on my k3s cluster.

I also set the following environment variables for Kibana:

\</\>  
extraEnvVars:

- name: "SERVER\_BASEPATH"  
value: "/kibana"
- name: "SERVER\_REWRITEBASEPATH"  
value: "false"  
\</\>

Requests are received by Kibana, however Kibana responds to with the / base path instead of the /kibana base path.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [July 5, 2024, 4:08pm UTC](https://discuss.elastic.co/t/kibana-base-path/362615/2 "2024-07-05T16:08:48Z")

</div>

Hi @Louw_Claassens,

Welcome! Did you set either the `server.basePath` or `server.publicBaseUrl` variables in your Kibana configuration?

---

<div class="post-metadata">

**Author:** ![Louw\_Claassens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/louw_claassens/32/133102_2.png) [@Louw\_Claassens](https://discuss.elastic.co/u/Louw_Claassens)\
**Post date:** [July 8, 2024, 5:57am UTC](https://discuss.elastic.co/t/kibana-base-path/362615/3 "2024-07-08T05:57:21Z")

</div>

> [@carly.richmond](#):
>
> server.publicBaseUrl

Thanks for the response. Yes I tried, setting SERVER\_PUBLICBASEURL. However, the result is the same.
