Merge pull request #11702 from zmstone/0928-minor-chore
0928 minor chore
This commit is contained in:
commit
98409c9b1e
|
@ -1,6 +1,6 @@
|
|||
%% This additional config file is used when the config 'cluster.proto_dist' in emqx.conf is set to 'inet_tls'.
|
||||
%% Which means the EMQX nodes will connect to each other over TLS.
|
||||
%% For more information about inter-broker security, see: https://docs.emqx.com/en/enterprise/v5.0/deploy/cluster/security.html
|
||||
%% For more information about inter-broker security, see: https://docs.emqx.com/en/enterprise/v5.3/deploy/cluster/security.html
|
||||
|
||||
%% For more information in technical details see: http://erlang.org/doc/apps/ssl/ssl_distribution.html
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ sp_saml_metadata(get, _Req) ->
|
|||
#{enable := true, sp := SP} = _State ->
|
||||
SignedXml = esaml_sp:generate_metadata(SP),
|
||||
Metadata = xmerl:export([SignedXml], xmerl_xml),
|
||||
{200, #{<<"Content-Type">> => <<"text/xml">>}, erlang:iolist_to_binary(Metadata)};
|
||||
{200, #{<<"content-type">> => <<"text/xml">>}, erlang:iolist_to_binary(Metadata)};
|
||||
_ ->
|
||||
{404, #{code => ?BACKEND_NOT_FOUND, message => <<"Backend not found">>}}
|
||||
end.
|
||||
|
|
Loading…
Reference in New Issue