mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
23 lines
539 B
JSON
23 lines
539 B
JSON
{
|
|
"run_type": "server",
|
|
"local_addr": "0.0.0.0",
|
|
"local_port": 443,
|
|
"remote_addr": "127.0.0.1",
|
|
"remote_port": 80,
|
|
"password": [
|
|
"your_password"
|
|
],
|
|
"ssl": {
|
|
"cert": "your_cert.crt",
|
|
"key": "your_key.key",
|
|
"sni": "your-domain-name.com"
|
|
},
|
|
"router": {
|
|
"enabled": true,
|
|
"block": [
|
|
"geoip:private"
|
|
],
|
|
"geoip": "/usr/share/trojan-go/geoip.dat",
|
|
"geosite": "/usr/share/trojan-go/geosite.dat"
|
|
}
|
|
} |