htpasswd protect on port 9200 for all domain ?
November 13, 2013 05:37AM
hi,

i got elastcisearch on my webserver, and would like to acces via http on port 9200 for plugins, but only want to give access on port 9200 on all domains/ip for a restricted user, so user can't destroy my index.

i know how to restrict only on localhost, but n ow i can't use plugins webbrowser base script.

how to do this ?

restrict access with password for all port 9200 connections

Thanks,
bye

proxmox : CT Debian : nginx
Re: htpasswd protect on port 9200 for all domain ?
November 13, 2013 08:38AM
location / {
auth_basic "Access limited";
auth_basic_user_file /nginx/auth/accesslist.txt;
[...]
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 96
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready