mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-06-28 13:16:06 +08:00
Update server.json
This commit is contained in:
parent
58f0ce273f
commit
2bc041157b
@ -15,7 +15,7 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"clients": [
|
"clients": [
|
||||||
{
|
{
|
||||||
"id": "UUID" // Change to your UUID.
|
"id": "UUID","//": "Change to your UUID."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"decryption": "none"
|
"decryption": "none"
|
||||||
@ -25,19 +25,20 @@
|
|||||||
"security": "tls",
|
"security": "tls",
|
||||||
"splithttpSettings": {
|
"splithttpSettings": {
|
||||||
"path": "/splithttp",
|
"path": "/splithttp",
|
||||||
"host": "example.com" // Change to your domain.
|
"host": "example.com","//": "Change to your domain."
|
||||||
},
|
},
|
||||||
"tlsSettings": {
|
"tlsSettings": {
|
||||||
"rejectUnknownSni": true,
|
"rejectUnknownSni": true,
|
||||||
"minVersion": "1.3",
|
"minVersion": "1.3",
|
||||||
"alpn": [
|
"alpn": [
|
||||||
"h3" // If you want to use with CDN, you need to change alpn to ["h2", "http/1.1"].
|
"h3"
|
||||||
],
|
],
|
||||||
|
"//": "If you want to use with CDN, you need to change alpn to ["h2", "http/1.1"].",
|
||||||
"certificates": [
|
"certificates": [
|
||||||
{
|
{
|
||||||
"ocspStapling": 3600,
|
"ocspStapling": 3600,
|
||||||
"certificateFile": "/path/to/fullchain.pem", // Change to your fullchain file path.
|
"certificateFile": "/path/to/fullchain.pem","//": "Change to your fullchain file path.",
|
||||||
"keyFile": "/path/to/privkey.pem" // Change to your private key file path.
|
"keyFile": "/path/to/privkey.pem","//": "Change to your private key file path."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user