diff --git a/guides/proxy.md b/guides/proxy.md index 96b7d441..e7b5b4f7 100644 --- a/guides/proxy.md +++ b/guides/proxy.md @@ -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, ) ``` @@ -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, ) -``` \ No newline at end of file +```