Skip to content

Instantly share code, notes, and snippets.

@timogoebel
Forked from markwalkom/kibana.conf
Last active August 29, 2015 13:59
Show Gist options
  • Save timogoebel/10522928 to your computer and use it in GitHub Desktop.
Save timogoebel/10522928 to your computer and use it in GitHub Desktop.
server {
listen *:80;
server_name kibana.domain.com;
access_log /var/log/nginx/kibana_access.log;
error_log /var/log/nginx/kibana_error.log;
location / {
root /var/www;
index index.html;
}
location ~ /_aliases$ {
proxy_pass http://localhost:9200;
proxy_read_timeout 180;
}
location ~ /_nodes$ {
proxy_pass http://localhost:9200;
proxy_read_timeout 180;
}
location ~ /*/_search$ {
proxy_pass http://localhost:9200;
proxy_read_timeout 180;
}
location ~ /*/_mapping$ {
proxy_pass http://localhost:9200;
proxy_read_timeout 180;
}
location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://localhost:9200;
proxy_read_timeout 180;
}
location ~ ^/kibana-int/temp.*$ {
proxy_pass http://localhost:9200;
proxy_read_timeout 180;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment