docs(auth_http): Update config doc

This commit is contained in:
Zaiming Shi 2021-04-17 14:40:55 +02:00 committed by Zaiming (Stone) Shi
parent dad7d9c597
commit e02eb5f939
2 changed files with 7 additions and 2 deletions

View File

@ -73,6 +73,7 @@ auth.http.super_req.headers.content-type = application/x-www-form-urlencoded
auth.http.super_req.params = clientid=%c,username=%u
## HTTP URL API path for ACL Request
## Comment out this config to disable ACL checks
##
## Value: URL
##
@ -165,4 +166,4 @@ auth.http.pool_size = 32
## against this value.
##
## Value: String | disable
## auth.http.ssl.server_name_indication = disable
## auth.http.ssl.server_name_indication = disable

View File

@ -60,6 +60,10 @@ end}.
end
end}.
%% @doc URL for ACL checks. Example: http://127.0.0.1:80/mqtt/acl
%% ACL checks are disabled for this plugin if this config is
%% commented out from the config file, or when the overriding
%% environment variable is set to empty string.
{mapping, "auth.http.acl_req.url", "emqx_auth_http.acl_req", [
{datatype, string}
]}.
@ -124,4 +128,4 @@ end}.
{mapping, "auth.http.ssl.server_name_indication", "emqx_auth_http.server_name_indication", [
{datatype, string}
]}.
]}.