Answer the question
In order to leave comments, you need to log in
How to set up a proxy for kibana in nginx?
Hello.
I want to configure access to kibana on the
https://some_domain/kibana domain,
I do it like this:
NGINX
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name some_domain;
location /kibana {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
rewrite ^/kibana/(.*) /$1 break;
proxy_pass http://kibana_ip:5601/;
}
server.host: "0.0.0.0"
kibana.index: ".kibana"
server.basePath: /kibana
server.rewriteBasePath: true
Answer the question
In order to leave comments, you need to log in
s̶e̶r̶v̶e̶r̶.̶b̶a̶s̶e̶P̶a̶t̶h̶: ̶ ̶ / ̶k̶i̶b̶a̶n̶a̶ ̶z̶a̶m̶e̶n̶i̶ ̶n̶a̶ ̶ s̶e̶r̶v̶e̶r̶.̶b̶a̶s̶e̶P̶a̶t̶h̶:
̶ ̶ / ̶ ̶T̶y̶
̶zh̶e̶ ̶r̶e̶g̶u̶l̶ya̶r̶k̶o̶y̶ ̶o̶t̶r̶e̶z̶a̶e̶sh̶̶ / ̶k̶i̶b̶a̶n̶a̶ ̶p̶e̶r̶e̶d̶ ̶t̶e̶m̶, ̶ ̶k̶a̶k̶ ̶p̶r̶o̶k̶s̶i̶r̶o̶v̶a̶t̶̶.̶.̶.̶
general can do without manage the regular season . For example:
location /kibana/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_pass http://kibana_ip:5601/;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question