Добавить trojan-xhttp-tls.json
This commit is contained in:
parent
f88fe66288
commit
31a540126c
1 changed files with 33 additions and 0 deletions
33
trojan-xhttp-tls.json
Normal file
33
trojan-xhttp-tls.json
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
"protocol": "trojan",
|
||||||
|
"settings": {
|
||||||
|
"clients": [{"password": "ДЛИННЫЙ_СЛУЧАЙНЫЙ_ПАРОЛЬ_32+"}],
|
||||||
|
"fallbacks": [
|
||||||
|
{"dest": "80", "xver": 1}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"network": "xhttp",
|
||||||
|
"security": "tls",
|
||||||
|
"xhttpSettings": {
|
||||||
|
"path": "/a8f3k2-secret-path/",
|
||||||
|
"mode": "packet-up",
|
||||||
|
"extra": {
|
||||||
|
"headers": {
|
||||||
|
"Host": "your-domain.com"
|
||||||
|
},
|
||||||
|
"xPaddingBytes": "100-1000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tlsSettings": {
|
||||||
|
"minVersion": "1.3",
|
||||||
|
"serverName": "your-domain.com",
|
||||||
|
"alpn": ["h2", "http/1.1"],
|
||||||
|
"fingerprint": "chrome",
|
||||||
|
"certificates": [{
|
||||||
|
"certificateFile": "/etc/letsencrypt/live/your-domain.com/fullchain.pem",
|
||||||
|
"keyFile": "/etc/letsencrypt/live/your-domain.com/privkey.pem"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue