Skip to content

Commit db74986

Browse files
committed
Support SSL connections
1 parent 9719b1b commit db74986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

budgetkey_api/modules/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def setup_search(app):
7474
if ES_CONNECTION:
7575
client_params['hosts'] = ES_CONNECTION
7676
else:
77-
client_params['hosts'] = [dict(host=ES_HOST, port=ES_PORT)]
77+
client_params['hosts'] = [dict(host=ES_HOST, port=ES_PORT, scheme='http')]
7878
if ES_CERT_PATH:
7979
client_params['ca_certs'] = ES_CERT_PATH
8080
if ELASTIC_PASSWORD:

0 commit comments

Comments
 (0)