Welcome! Log In Create A New Profile

Advanced

htpasswd protect on port 9200 for all domain ?

Posted by zuckbin 
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: 214
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready