We widely use Kaizen in-house, recommend to our partners
and continuously improve it every week.
HTTPS termination example by Nginx:
# elasticsearch.conf
upstream elasticsearch {
server 127.0.0.1:9200;
keepalive 15;
}
server {
listen 443 ssl default_server;
ssl_certificate /etc/nginx/elasticsearch.crt;
ssl_certificate_key /etc/nginx/elasticsearch.key;
client_max_body_size 100m;
location / {
proxy_pass http://elasticsearch;
proxy_http_version 1.1;
proxy_set_header Connection "Keep-Alive";
proxy_set_header Proxy-Connection "Keep-Alive";
}
}
$ sudo openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/elasticsearch.key
-out /etc/nginx/elasticsearch.crt
$ sudo nginx reload
Basic authentication example by Nginx:
# elasticsearch.conf
server {
listen 8080 default_server;
location / {
proxy_pass http://127.0.0.1:9200;
auth_basic "Restricted";
# user:$apr1$lf6n8xgu$PtNgutz9WHROz08RNIfy21
# user:password
auth_basic_user_file /etc/nginx/.htpasswd;
}
}
$ sudo nginx reload
Note: the restore supports uncompressed dumps in JSON format only. Compatibility of the dumps among major ElasticSearch versions is not guaranteed.
Note: the import does not set up the index, you should set up it prior running or rely on ElasticSearch otherwise.