Skip to content

Commit

Permalink
[SDPSUP-7185] Update search endpoints to use https
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen authored May 21, 2024
1 parent 36d1f45 commit f860cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/php/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit f860cfb

Please sign in to comment.