Skip to content

HTTP / HTTPS ​

Use an HTTP CONNECT proxy. The example enables HTTPS; remove TLS settings for a plain HTTP service. This type carries TCP; adding udp: true does not add UDP support.

Node example ​

Merge this node into the configuration’s proxies list. Replace example addresses, identities, and credentials. If you rename Node, update group references too.

yaml
proxies:
  - name: Node
    type: http
    server: proxy.example.com
    port: 443
    username: YOUR_USERNAME
    password: YOUR_PASSWORD
    tls: true
    sni: proxy.example.com

Protocol fields ​

FieldHow to configure it
username / passwordSupply the server credentials; omit for an unauthenticated server.
tlsUse true for an HTTPS proxy; omit or use false for plain HTTP, with the matching server port.
sniTLS server name, normally the certificate hostname.
headersCustom HTTP request headers as a mapping.

Groups and rules · Common fields · TLS · Transports

Reference: mihomo.