sing-box/docs/configuration/inbound/http.md
2022-08-31 12:50:26 +08:00

634 B

Structure

{
  "type": "http",
  "tag": "http-in",
  
  ... // Listen Fields
  
  "users": [
    {
      "username": "admin",
      "password": "admin"
    }
  ],
  "tls": {},
  "set_system_proxy": false
}

Listen Fields

See Listen Fields for details.

Fields

tls

TLS configuration, see TLS.

users

HTTP users.

No authentication required if empty.

set_system_proxy

!!! error ""

Only supported on Linux, Android, Windows, and macOS.

Automatically set system proxy configuration when start and clean up when stop.