Skip to content

Commit

Permalink
Fix nginx.conf after switching dashboard load to GET
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Sep 6, 2013
1 parent eb25ce5 commit a428f9e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions sample/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,19 @@ server {
location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://127.0.0.1:9200;
proxy_read_timeout 90;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
limit_except GET {
proxy_pass http://127.0.0.1:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
location ~ ^/kibana-int/temp.*$ {
proxy_pass http://127.0.0.1:9200;
proxy_read_timeout 90;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
limit_except GET {
proxy_pass http://127.0.0.1:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
}
}

0 comments on commit a428f9e

Please sign in to comment.