diff --git a/config/template/self_cert_config.json b/config/template/self_cert_config.json index 5f26b37..d5d63cf 100644 --- a/config/template/self_cert_config.json +++ b/config/template/self_cert_config.json @@ -23,9 +23,7 @@ "tls": { "enabled": true, "server_name": "你的tls域名", - "alpn": [ - "h3" - ], + "alpn": ["h3"], "key_path": "/etc/sing-box/tls/server.key", "certificate_path": "/etc/sing-box/tls/server.crt" } diff --git a/config/template/tls_cert_config.json b/config/template/tls_cert_config.json index 51fd97f..c6b3f29 100644 --- a/config/template/tls_cert_config.json +++ b/config/template/tls_cert_config.json @@ -40,11 +40,9 @@ "tls": { "enabled": true, "server_name": "你的域名", - "alpn": [ - "h3" - ], - "key_path": "/etc/sing-box/tls/server.key", - "certificate_path": "/etc/sing-box/tls/server.crt" + "alpn": ["h3"], + "key_path": "/etc/sing-box/tls/你的域名.key", + "certificate_path": "/etc/sing-box/tls/你的域名.crt" } } ],