github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/docs/configuration/outbound/http.md (about)

     1  `http` outbound is a HTTP CONNECT proxy client.
     2  
     3  ### Structure
     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    "path": "",
    15    "headers": {},
    16    "tls": {},
    17    
    18    ... // Dial Fields
    19  }
    20  ```
    21  
    22  ### Fields
    23  
    24  #### server
    25  
    26  ==Required==
    27  
    28  The server address.
    29  
    30  #### server_port
    31  
    32  ==Required==
    33  
    34  The server port.
    35  
    36  #### username
    37  
    38  Basic authorization username.
    39  
    40  #### password
    41  
    42  Basic authorization password.
    43  
    44  #### path
    45  
    46  Path of HTTP request.
    47  
    48  #### headers
    49  
    50  Extra headers of HTTP request.
    51  
    52  #### tls
    53  
    54  TLS configuration, see [TLS](/configuration/shared/tls/#outbound).
    55  
    56  ### Dial Fields
    57  
    58  See [Dial Fields](/configuration/shared/dial) for details.