Commit 02f2ff29 by Rashid Khan

Added _mapping proxy settings

parent 93b48a7d
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</Proxy> </Proxy>
# Proxy for _aliases and .*/_search # Proxy for _aliases and .*/_search
<LocationMatch "^(/_aliases|.*/_search)$"> <LocationMatch "^(/_aliases|.*/_search|.*/_mapping)$">
ProxyPassMatch http://127.0.0.1:9200 ProxyPassMatch http://127.0.0.1:9200
ProxyPassReverse http://127.0.0.1:9200 ProxyPassReverse http://127.0.0.1:9200
</LocationMatch> </LocationMatch>
......
...@@ -29,6 +29,10 @@ server { ...@@ -29,6 +29,10 @@ server {
proxy_pass http://127.0.0.1:9200; proxy_pass http://127.0.0.1:9200;
proxy_read_timeout 90; proxy_read_timeout 90;
} }
location ~ ^/.*/_mapping$ {
proxy_pass http://127.0.0.1:9200;
proxy_read_timeout 90;
}
# Password protected end points # Password protected end points
location ~ ^/kibana-int/dashboard/.*$ { location ~ ^/kibana-int/dashboard/.*$ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment