Update server.json

This commit is contained in:
xqzr 2024-10-13 23:15:09 +08:00 committed by GitHub
parent 58f0ce273f
commit 2bc041157b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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."
} }
] ]
} }