mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-24 01:21:30 +00:00
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
|
{
|
||
|
"run_type": "server",
|
||
|
"local_addr": "0.0.0.0",
|
||
|
"local_port": 10000,
|
||
|
"password": [
|
||
|
"password"
|
||
|
],
|
||
|
"log_level": 1,
|
||
|
"ssl": {
|
||
|
"cert": "/path/to/certificate.crt",
|
||
|
"key": "/path/to/private.key",
|
||
|
"key_password": "",
|
||
|
"cipher": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384",
|
||
|
"cipher_tls13": "TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384",
|
||
|
"prefer_server_cipher": true,
|
||
|
"alpn": [
|
||
|
"http/1.1"
|
||
|
],
|
||
|
"alpn_port_override": {
|
||
|
"h2": 81
|
||
|
},
|
||
|
"reuse_session": true,
|
||
|
"session_ticket": false,
|
||
|
"session_timeout": 600,
|
||
|
"plain_http_response": "",
|
||
|
"curves": "",
|
||
|
"dhparam": ""
|
||
|
},
|
||
|
"tcp": {
|
||
|
"prefer_ipv4": false,
|
||
|
"no_delay": true,
|
||
|
"keep_alive": true,
|
||
|
"reuse_port": false,
|
||
|
"fast_open": false,
|
||
|
"fast_open_qlen": 20
|
||
|
},
|
||
|
"mysql": {
|
||
|
"enabled": false
|
||
|
}
|
||
|
}
|