3 server,1 client, are added to each server acl_config.json:
{
"acl_datacenter": "dc1",
"acl_master_token": "hdsaikfoe56",
"acl_default_policy": "deny"
}
and also restart three server. But the page still shows
token
consulserverlog:
clientlog:
.
could you tell me what went wrong with my configuration
this is the client startup command in consul. / consul agent-data-dir=/data/consul-node=node3-bind=192.168.0.6-client=192.168.0.6-datacenter=dc1-ui-config-dir=/etc/consul.d
server startup command:. / consul agent-server-bootstrap-expect=3-data-dir=/data/consul-node=node0-bind=192.168.0.3-datacenter=dc1-config-dir=/etc/consul.d
/ etc/consul.d is the directory where acl_config.json is located
according to the method on the Internet, configure consul"s acL, http://www.xiaomastack.com/20.
.the younger brother has been trying to be like this all afternoon, ask the boss to show me the way