mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-30 12:31:31 +00:00
49 lines
610 B
Markdown
49 lines
610 B
Markdown
`http` outbound is a HTTP CONNECT proxy client.
|
|
|
|
### Structure
|
|
|
|
```json
|
|
{
|
|
"type": "http",
|
|
"tag": "http-out",
|
|
|
|
"server": "127.0.0.1",
|
|
"server_port": 1080,
|
|
"username": "sekai",
|
|
"password": "admin",
|
|
"tls": {},
|
|
|
|
... // Dial Fields
|
|
}
|
|
```
|
|
|
|
### Fields
|
|
|
|
#### server
|
|
|
|
==Required==
|
|
|
|
The server address.
|
|
|
|
#### server_port
|
|
|
|
==Required==
|
|
|
|
The server port.
|
|
|
|
#### username
|
|
|
|
Basic authorization username.
|
|
|
|
#### password
|
|
|
|
Basic authorization password.
|
|
|
|
#### tls
|
|
|
|
TLS configuration, see [TLS](/configuration/shared/tls/#outbound).
|
|
|
|
### Dial Fields
|
|
|
|
See [Dial Fields](/configuration/shared/dial) for details.
|