sing-box/docs/configuration/outbound/http.md

49 lines
610 B
Markdown
Raw Normal View History

`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",
"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
==Required==
2022-07-08 18:48:43 +08:00
The server address.
#### server_port
==Required==
2022-07-08 18:48:43 +08:00
The server port.
#### username
Basic authorization username.
#### password
Basic authorization password.
2022-07-27 12:03:07 +08:00
#### tls
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
2022-08-31 13:21:29 +08:00
See [Dial Fields](/configuration/shared/dial) for details.