Fix search not working due to proxy settings when using hidden services (#13488)
Fix #13484
This commit is contained in:
		
							parent
							
								
									53f9f8a4ce
								
							
						
					
					
						commit
						efd5db8f21
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -23,3 +23,9 @@ module Chewy
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
  end
 | 
					  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…
	
		Reference in a new issue