diff --git a/images/php/settings.php b/images/php/settings.php index a36ba07a..daa0410b 100755 --- a/images/php/settings.php +++ b/images/php/settings.php @@ -319,7 +319,7 @@ // Configure elasticsearch connections from environment variables. if (getenv('SEARCH_HASH') && getenv('SEARCH_URL')) { - $config['elasticsearch_connector.cluster.elasticsearch_bay']['url'] = sprintf('http://%s.%s', getenv('SEARCH_HASH'), getenv('SEARCH_URL')); + $config['elasticsearch_connector.cluster.elasticsearch_bay']['url'] = sprintf('https://%s.%s', getenv('SEARCH_HASH'), getenv('SEARCH_URL')); } else { $config['elasticsearch_connector.cluster.elasticsearch_bay']['url'] = "http://elasticsearch:9200"; }