Merge pull request #214 from felipelrz/patch-1
Update ssl_authentication.asciidoc
This commit is contained in:
@ -5,7 +5,7 @@ You can configure the client to use SSL for connecting to your elasticsearch clu
|
|||||||
|
|
||||||
=== Basic Auth
|
=== Basic Auth
|
||||||
|
|
||||||
Basic authentication credentials can be configured on a per-host basis using URL notiation, or at the `auth:` property of a host config object.
|
Basic authentication credentials can be configured on a per-host basis using URL notation, or at the `auth:` property of a host config object.
|
||||||
|
|
||||||
.Credentials directly in the host url:
|
.Credentials directly in the host url:
|
||||||
[source,js]
|
[source,js]
|
||||||
@ -46,4 +46,4 @@ var client = new elasticsearch.Client({
|
|||||||
rejectUnauthorized: true
|
rejectUnauthorized: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
-----
|
-----
|
||||||
|
|||||||
Reference in New Issue
Block a user