# Reverse proxy + XPACK

**URL:** <https://discuss.elastic.co/t/reverse-proxy-xpack/267433>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [March 17, 2021, 1:14am UTC](https://discuss.elastic.co/t/reverse-proxy-xpack/267433 "2021-03-17T01:14:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [April 1, 2021, 5:47pm UTC](https://discuss.elastic.co/t/reverse-proxy-xpack/267433/2 "2021-04-01T17:47:36Z")

</div>

It looks like you are not setting the `server.basePath` setting or any of the other settings that Kibana provides specifically for use with reverse proxies: [Configure Kibana | Kibana Guide [7.12] | Elastic](https://www.elastic.co/guide/en/kibana/current/settings.html)

I found some relevant and helpful information in this other thread: [Nginx reverse proxy setup for Kibana](https://discuss.elastic.co/t/nginx-reverse-proxy-setup-for-kibana/167327)

Here's a user who has a working config with basePath: [Nginx reverse proxy with rewrite and app/kibana#/discover](https://discuss.elastic.co/t/nginx-reverse-proxy-with-rewrite-and-app-kibana-discover/198461)

---

_[View the full topic](https://discuss.elastic.co/t/reverse-proxy-xpack/267433)._
