Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to API endpoints instead of directly to Elasticsearch #18

Open
tecfu opened this issue Aug 30, 2018 · 1 comment
Open

Connect to API endpoints instead of directly to Elasticsearch #18

tecfu opened this issue Aug 30, 2018 · 1 comment

Comments

@tecfu
Copy link

tecfu commented Aug 30, 2018

I'm not sure if I'm missing something, but it seems vue-innersearch can only be used if an Elasticsearch server is available to the public. Suffice it to say that there are obvious, prohibitive drawbacks to doing this in production:

Note:
Is it safe to expose the Elasticsearch Search API directly through your application's API?
https://stackoverflow.com/questions/39103547/is-it-safe-to-expose-the-elasticsearch-search-api-directly-through-your-applicat

Can InnerSearch can be configured otherwise? If so where can we find an example?

@TrimA74
Copy link
Collaborator

TrimA74 commented Sep 13, 2018

vue-innersearch can only be used with the ElasticSearch API. If you want to secure your ElasticSearch API there are few options :

  • to use a nginx server as a proxy server for example ( using Authoriation headers )
  • use X-Pack security activities for Elastic ( check doc )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants