Kibana behind reverse proxy (nginx) on a different route

Hello everybody!

I'm trying to set up a different path than / in a Nginx server as reverse proxy. I would like that the users can access to and then showed. For that, I set up a file in /etc/nginx/conf.d/ called kibana_proxy.conf with the following content:

   listen 80;
   location /kibana {
      rewrite */kibana/(.*) /$1 break;
      proxy_set_heather Authorization "Basic xxxxxx";

When I access to only shows the following message:

{"statusCode":404,"message":"Cannot GET /s/myspace/spaces/enter","error":"Not Found"}

myspace is the space created and assigned to the user configurated in the line proxy_set_header Authorization of nginx configuration file.

What am I doing wrong?

Should I setting up something more in kibana configuration file?

Thank you in advance!

@jportner can we please get some help here?

Thank you

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

Sorry for the late reply, something is up with my notifications and I just saw this.

@mar-ro I'm not an nginx expert but I noticed that you specified proxy_set_heather in your config, I think you meant proxy_set_header? Maybe try changing it and see if that works.