configure basic auth of nginx proxy for elasticsearch