HTTP
HTTP is a protocol for inbound connections. It is compatible with HTTP 1.1.
- Name: http
- Type: Inbound
- Configuration:
{
"accounts": [
{
"user": "my-username",
"pass": "my-password"
}
],
"allowTransparent": false,
"userLevel": 0
}
Where:
accounts: An array in which each entry is an account. Username of the account is specified byuser, and password specified bypass. Default empty.- If
accountsis not empty, HTTP uses Basic Authentication for user verification.
- If
allowTransparent: If set totrue, all HTTP request sent to this inbound will be proxied, including non-proxy request.userLevel: User level. All connections share this level.
Tips
Use the following settings in Linux to use HTTP proxy in current session.
export http_proxy=http://127.0.0.1:8080/(URL has to change according to your config)export https_proxy=$http_proxy