initial commit

This commit is contained in:
jakedahn
2013-07-06 20:21:12 -07:00
commit dd46dda79c
15 changed files with 274 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
server {
listen 80;
server_name logs.notprod.pl;
root /var/www/kibana;
# Set image format types to expire in a very long time
location ~* ^.+\.(jpg|jpeg|gif|png|ico)$ {
access_log off;
expires max;
}
# Set css and js to expire in a very long time
location ~* ^.+\.(css|js)$ {
access_log off;
expires max;
}
# Catchall for everything else
location / {
root /var/www/kibana;
index index.html;
expires 1d;
try_files $uri/ $uri;
if (-f $request_filename) {
break;
}
}
}