c.f. https://blog.eagerelk.com/securing-elasticsearch-using-nginx-as-a-proxy/ Nginx with BASIC auth Install nginx, apach2-utils sudo apt install nginx apache2-utils Add new BASIC authentication file sudo htpasswd -c /etc/nginx/conf.d/search.htpasswd myelasticsearchuser New password: ******** ... Nginx conf…