2022-08-24 13:02:28 +00:00
|
|
|
`http` outbound is a HTTP CONNECT proxy client.
|
2022-07-08 10:48:43 +00:00
|
|
|
|
|
|
|
### Structure
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2022-08-31 05:21:29 +00:00
|
|
|
"type": "http",
|
|
|
|
"tag": "http-out",
|
|
|
|
|
|
|
|
"server": "127.0.0.1",
|
|
|
|
"server_port": 1080,
|
|
|
|
"username": "sekai",
|
|
|
|
"password": "admin",
|
2023-04-14 13:18:28 +00:00
|
|
|
"path": "",
|
|
|
|
"headers": {},
|
2022-08-31 05:21:29 +00:00
|
|
|
"tls": {},
|
|
|
|
|
|
|
|
... // Dial Fields
|
2022-07-08 10:48:43 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2022-08-31 05:21:29 +00:00
|
|
|
### Fields
|
2022-07-08 10:48:43 +00:00
|
|
|
|
|
|
|
#### server
|
|
|
|
|
2022-07-09 01:26:50 +00:00
|
|
|
==Required==
|
|
|
|
|
2022-07-08 10:48:43 +00:00
|
|
|
The server address.
|
|
|
|
|
|
|
|
#### server_port
|
|
|
|
|
2022-07-09 01:26:50 +00:00
|
|
|
==Required==
|
|
|
|
|
2022-07-08 10:48:43 +00:00
|
|
|
The server port.
|
|
|
|
|
|
|
|
#### username
|
|
|
|
|
|
|
|
Basic authorization username.
|
|
|
|
|
|
|
|
#### password
|
|
|
|
|
|
|
|
Basic authorization password.
|
|
|
|
|
2023-04-14 13:18:28 +00:00
|
|
|
#### path
|
|
|
|
|
|
|
|
Path of HTTP request.
|
|
|
|
|
|
|
|
#### headers
|
|
|
|
|
|
|
|
Extra headers of HTTP request.
|
|
|
|
|
2022-07-27 04:03:07 +00:00
|
|
|
#### tls
|
|
|
|
|
2022-08-24 13:02:28 +00:00
|
|
|
TLS configuration, see [TLS](/configuration/shared/tls/#outbound).
|
2022-07-27 04:03:07 +00:00
|
|
|
|
2022-07-08 10:48:43 +00:00
|
|
|
### Dial Fields
|
|
|
|
|
2022-08-31 05:21:29 +00:00
|
|
|
See [Dial Fields](/configuration/shared/dial) for details.
|