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": {
"clients": [
{
"id": "UUID" // Change to your UUID.
"id": "UUID","//": "Change to your UUID."
}
],
"decryption": "none"
@ -25,19 +25,20 @@
"security": "tls",
"splithttpSettings": {
"path": "/splithttp",
"host": "example.com" // Change to your domain.
"host": "example.com","//": "Change to your domain."
},
"tlsSettings": {
"rejectUnknownSni": true,
"minVersion": "1.3",
"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": [
{
"ocspStapling": 3600,
"certificateFile": "/path/to/fullchain.pem", // Change to your fullchain file path.
"keyFile": "/path/to/privkey.pem" // Change to your private key 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."
}
]
}