diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 3ecded277..7879bd763 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -33,11 +33,11 @@ http { absolute_redirect off; - location /docs/search/ { + location /docs/search/_search { if ($request_method != GET) { return 405; } - proxy_pass http://elasticsearch:9200/; + proxy_pass http://elasticsearch:9200/_search; } rewrite ^(?!\/docs)\/(.*)$ /docs/$1 permanent;