1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-30 09:06:06 +03:00
ProxySU/TemplateConfg/trojan/trojan_server_config.json

51 lines
1.4 KiB
JSON
Raw Normal View History

2020-04-23 04:27:49 +03:00
{
"run_type": "server",
2020-08-13 19:26:41 +03:00
"local_addr": "::",
2020-04-23 04:27:49 +03:00
"local_port": 443,
"remote_addr": "127.0.0.1",
2020-09-07 19:36:13 +03:00
"remote_port": 8800,
2020-04-23 04:27:49 +03:00
"password": [
""
],
"log_level": 1,
"ssl": {
"cert": "/usr/local/etc/trojan/trojan_ssl.crt",
"key": "/usr/local/etc/trojan/trojan_ssl.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",
2020-04-23 04:27:49 +03:00
"prefer_server_cipher": true,
"alpn": [
"http/1.1"
],
"alpn_port_override": {
"h2": 81
},
2020-04-23 04:27:49 +03:00
"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,
2020-04-23 04:27:49 +03:00
"fast_open": false,
"fast_open_qlen": 20
},
"mysql": {
"enabled": false,
"server_addr": "127.0.0.1",
"server_port": 3306,
"database": "trojan",
"username": "trojan",
"password": "",
"key": "",
"cert": "",
"ca": ""
2020-04-23 04:27:49 +03:00
}
}