do i need to config reverse proxy even for kibana 5? why its been a manual task?
any better cookbook available?
its not working anyway.. getting 404
do i need to config reverse proxy even for kibana 5? why its been a manual task?
any better cookbook available?
its not working anyway.. getting 404
Without telling what the config is it's hard to determine whats wrong. About the manual taks, setting up a reverse proxy is a trival task. I use the following config.
set $kibana 172.25.33.100;
location / {
proxy_pass http://$kibana:5601;
proxy_set_header Host $host;
proxy_set_header Referer "";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_connect_timeout 150;
proxy_send_timeout 100;
proxy_read_timeout 100;
proxy_buffers 16 64k;
proxy_busy_buffers_size 64k;
client_max_body_size 256k;
client_body_buffer_size 128k;
}
And this works fine for me.
Also if you need a cookbook, why not create one and contribute to the comunity? sharing = recieving...
Paul.
server {
listen 0.0.0.0:80;
server_name localhost;
access_log /var/log/nginx/localhost.log;
location / {
proxy_pass http://localhost:5601;
proxy_read_timeout 90;
}
}
this is what i used and when i used yours i see error in restarting the service
Whats the error you see? And is that all the nginx config you have?
Redirecting to /bin/systemctl restart nginx.service
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
do i need to use the localhost/floating ip address in the set kibana?
btb, in which file i need to update
You need to use you own configured ip address, if that is a float I assume you have some sort of load balancer. If so you need to apply that configuration on all hosts.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.