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