
This addition is an updated of the curent elk_metrics which will install Elasticsearc, Logstash and Kibana 6.x. It also include configuration guide for haproxy endpoints Change-Id: Iac4dec6d17bc75433e5fe672f3b9781536b8e619
18 lines
458 B
Django/Jinja
18 lines
458 B
Django/Jinja
server {
|
|
listen {{ nginx_port }};
|
|
|
|
server_name {{ server_name }};
|
|
|
|
auth_basic "Restricted Access";
|
|
auth_basic_user_file /etc/nginx/htpasswd.users;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:{{ kibana_port }};
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
}
|