I am unable to use the nginx as reverse proxy in kibana.
kibana dashboard is working fine on 172.25.1.x:5601
kibana service is working fine
server block in the /etc/nginx/nginx.conf are below:
server {
listen *:80;
server_name elk-logserver.com;
location / {
proxy_pass http://172.25.xx.xx:5601;
auth_basic "test Property";
auth_basic_user_file /etc/nginx/.htpasswd;
}
}
port 80 is open on kibana machine.
kibana and nginx are installed on the same machine.
nginx -t show the configuration is good.
but I am not able to access the kibana using the reverse proxy domain (elk-logserver.com).
any change that we need to do on the /etc/hosts file or in the kibana.yaml, do let me know.
Any inputs.