|
|
@@ -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;
|
|
|
+ }
|
|
|
}
|
|
|
-}
|
|
|
+}
|