Добавить trojan-tls-ws-nginx.json
This commit is contained in:
parent
5e6b8c0a7e
commit
dbc5711de9
1 changed files with 26 additions and 0 deletions
26
trojan-tls-ws-nginx.json
Normal file
26
trojan-tls-ws-nginx.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"protocol": "trojan",
|
||||
"settings": {
|
||||
"clients": [{"password": "ДЛИННЫЙ_СЛУЧАЙНЫЙ_ПАРОЛЬ_32+"}],
|
||||
"fallbacks": [
|
||||
{"dest": "80", "xver": 1}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "tls",
|
||||
"wsSettings": {
|
||||
"path": "/a8f3k2-secret-path/",
|
||||
"headers": {"Host": "your-domain.com"}
|
||||
},
|
||||
"tlsSettings": {
|
||||
"minVersion": "1.3",
|
||||
"serverName": "your-domain.com",
|
||||
"alpn": ["h2", "http/1.1"],
|
||||
"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