Skip to content

Commit

Permalink
fix proxy.md (#837)
Browse files Browse the repository at this point in the history
* fix proxy.md

Signed-off-by: jiangying <krivergo3@gmail.com>

* Update proxy.md

Signed-off-by: jiangying <krivergo3@gmail.com>

---------

Signed-off-by: jiangying <krivergo3@gmail.com>
  • Loading branch information
jiangying000 authored Oct 23, 2024
1 parent 9dd7bf7 commit ad1048b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions guides/proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
from opensearchpy import OpenSearch, RequestsHttpConnection

OpenSearch(
hosts=["htps://..."],
hosts=["https://..."],
use_ssl=True,
verify_certs=True,
connection_class=RequestsHttpConnection,
trust_env=True,
)
```
Expand All @@ -23,10 +24,10 @@ OpenSearch(
from opensearchpy import AsyncOpenSearch, AIOHttpConnection

client = AsyncOpenSearch(
hosts=["htps://..."],
hosts=["https://..."],
use_ssl=True,
verify_certs=True,
connection_class=AIOHttpConnection,
trust_env=True,
)
```
```

0 comments on commit ad1048b

Please sign in to comment.