Updating with kibana/src due to github changes, and htpasswd for security

This commit is contained in:
2013-11-19 06:40:37 +00:00
parent b5d1d205dd
commit 5c2e2417af
3 changed files with 11 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
server {
listen 80;
server_name logs.notprod.pl;
root /var/www/kibana;
root /var/www/kibana/src/;
# Set image format types to expire in a very long time
location ~* ^.+\.(jpg|jpeg|gif|png|ico)$ {
@@ -17,12 +17,14 @@ server {
# Catchall for everything else
location / {
root /var/www/kibana;
root /var/www/kibana/src/;
index index.html;
expires 1d;
try_files $uri/ $uri;
if (-f $request_filename) {
break;
}
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.htpasswd;
}
}

View File

@@ -0,0 +1 @@
kibana:$apr1$VqB7zuBE$JaTUfOMIzOOJb0oCq8gbu/