Allow overriding DNS server. Set DNS if internal docker host is being shared

This commit is contained in:
Marcel Pociot committed 2021-03-02 16:39:51 +01:00
1 parent 986428fe00
commit 5c141986fe
4 files changed
+23 -3

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ class HttpClient
protected function createConnector(): Connector
{
return new Connector($this->loop, [
'dns' => '127.0.0.1',
'dns' => config('expose.dns', '127.0.0.1'),
'tls' => [
'verify_peer' => false,
'verify_peer_name' => false,