Open aiastia opened 2 years ago
if ((string)$server['network'] === 'tcp') { $tcpSettings = $server['networkSettings']; if (isset($tcpSettings['path'])) $config['path'] = $tcpSettings['path']; if (isset($tcpSettings['headers']['Host'])) $config['host'] = $tcpSettings['headers']['Host']; if (isset($tcpSettings['type'])) $config['type'] = $tcpSettings['type']; }
{ "path": "/", "type": "http", "headers": { "Host": "111" } }