github.com/sagernet/sing-box@v1.2.7/docs/configuration/outbound/http.zh.md (about)

     1  `http` 出站是一个 HTTP CONNECT 代理客户端
     2  
     3  ### 结构
     4  
     5  ```json
     6  {
     7    "type": "http",
     8    "tag": "http-out",
     9    
    10    "server": "127.0.0.1",
    11    "server_port": 1080,
    12    "username": "sekai",
    13    "password": "admin",
    14    "tls": {},
    15  
    16    ... // 拨号字段
    17  }
    18  ```
    19  
    20  ### 字段
    21  
    22  #### server
    23  
    24  ==必填==
    25  
    26  服务器地址。
    27  
    28  #### server_port
    29  
    30  ==必填==
    31  
    32  服务器端口。
    33  
    34  #### username
    35  
    36  Basic 认证用户名。
    37  
    38  #### password
    39  
    40  Basic 认证密码。
    41  
    42  #### tls
    43  
    44  TLS 配置, 参阅 [TLS](/zh/configuration/shared/tls/#outbound)。
    45  
    46  ### 拨号字段
    47  
    48  参阅 [拨号字段](/zh/configuration/shared/dial/)。