koursaros-ai / nboost

NBoost is a scalable, search-api-boosting platform for deploying transformer models to improve the relevance of search results on different platforms (i.e. Elasticsearch)
Apache License 2.0
674 stars 69 forks source link

How to use AWS ES proxy url? #43

Closed vamsibanda closed 4 years ago

vamsibanda commented 4 years ago

Hello,

I indexed all my data in the cloud AWS ES instance and trying to handle search by connecting via proxy SSL URL along with authentication token. I am failing to establish a connection since there is no default argument to input the authentication token. Could you please help me how to connect?

pertschuk commented 4 years ago

we don't support encrypted connections

huseinzol05 commented 4 years ago

You need to proxy using nginx something like that to uncrypted network, example,

server {
        listen 9200;

        location ~ .* {
            proxy_pass https://your-aws-es-vpc:9200;
            proxy_set_header X-Forwarded-Proto https;
            }
        }

and use nginx host ip address to connect to nboost.