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

     1  ### Structure
     2  
     3  ```json
     4  {
     5    "type": "http",
     6    "tag": "http-in",
     7    
     8    ... // Listen Fields
     9    
    10    "users": [
    11      {
    12        "username": "admin",
    13        "password": "admin"
    14      }
    15    ],
    16    "tls": {},
    17    "set_system_proxy": false
    18  }
    19  ```
    20  
    21  ### Listen Fields
    22  
    23  See [Listen Fields](/configuration/shared/listen) for details.
    24  
    25  ### Fields
    26  
    27  #### tls
    28  
    29  TLS configuration, see [TLS](/configuration/shared/tls/#inbound).
    30  
    31  #### users
    32  
    33  HTTP users.
    34  
    35  No authentication required if empty.
    36  
    37  #### set_system_proxy
    38  
    39  !!! error ""
    40  
    41      Only supported on Linux, Android, Windows, and macOS.
    42  
    43  !!! warning ""
    44  
    45      To work on Android and iOS without privileges, use tun.platform.http_proxy instead.
    46  
    47  Automatically set system proxy configuration when start and clean up when stop.