Update xhttp examples

This commit is contained in:
Sergei Maklagin
2026-02-22 15:50:00 +03:00
parent 50c5e9df0d
commit 4ebe870306
2 changed files with 70 additions and 21 deletions

View File

@@ -22,7 +22,7 @@
"uuid": "3179dce2-2ff9-413c-85b4-c1d53ed41668"
}
],
"tls": {
"tls": { // https://sing-box.sagernet.org/configuration/shared/tls/#inbound
"enabled": true,
"server_name": "example.com",
"alpn": "h2", // h3 for QUIC
@@ -33,6 +33,23 @@
"type": "xhttp",
"mode": "stream-up",
"path": "/xhttp",
"x_padding_bytes": "100-1000",
"no_sse_header": false, // server only
"sc_max_buffered_posts": 30, // packet-up, server only
"sc_stream_up_server_secs": "20-80", // stream-up, server only
"x_padding_obfs_mode": false,
"x_padding_key": "",
"x_padding_header": "",
"x_padding_placement": "",
"x_padding_method": "",
"uplink_http_method": "",
"session_placement": "",
"session_key": "",
"seq_placement": "",
"seq_key": "",
"uplink_data_placement": "",
"uplink_data_key": "",
"uplink_chunk_size": 0,
}
}
],