Browse Source

Fix search not working due to proxy settings when using hidden services (#13488)

Fix #13484
master
Eugen Rochko 4 years ago
committed by GitHub
parent
commit
d18d6c29f3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      config/initializers/chewy.rb

+ 6
- 0
config/initializers/chewy.rb View File

@ -23,3 +23,9 @@ module Chewy
end
end
end
# ElasticSearch uses Faraday internally. Faraday interprets the
# http_proxy env variable by default which leads to issues when
# Mastodon is run with hidden services enabled, because
# ElasticSearch is *not* supposed to be accessed through a proxy
Faraday.ignore_env_proxy = true

Loading…
Cancel
Save