mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 22:09:35 +08:00
Update trojan-go
This commit is contained in:
parent
9d94a26b12
commit
49ad970132
@ -1,10 +1,11 @@
|
||||
# Dockerfile for trojan-go based alpine
|
||||
# Copyright (C) 2019 - 2021 Teddysun <i@teddysun.com>
|
||||
# Copyright (C) 2019 - 2023 Teddysun <i@teddysun.com>
|
||||
# Reference URL:
|
||||
# https://github.com/p4gefau1t/trojan-go
|
||||
# https://github.com/v2fly/v2ray-core
|
||||
# https://github.com/v2fly/geoip
|
||||
# https://github.com/v2fly/domain-list-community
|
||||
# https://github.com/Potterli20/trojan-go-fork
|
||||
|
||||
FROM --platform=${TARGETPLATFORM} alpine:latest
|
||||
LABEL maintainer="Teddysun <i@teddysun.com>"
|
||||
|
@ -40,13 +40,20 @@ A sample in JSON like below:
|
||||
"remote_addr": "127.0.0.1",
|
||||
"remote_port": 80,
|
||||
"password": [
|
||||
"your_awesome_password"
|
||||
"your_password"
|
||||
],
|
||||
"ssl": {
|
||||
"cert": "server.crt",
|
||||
"key": "server.key",
|
||||
"sni": "your-domain-name.com",
|
||||
"fallback_port": 1234
|
||||
"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"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -12,10 +12,12 @@
|
||||
"key": "your_key.key",
|
||||
"sni": "your-domain-name.com"
|
||||
},
|
||||
"router":{
|
||||
"router": {
|
||||
"enabled": true,
|
||||
"block": [
|
||||
"geoip:private"
|
||||
]
|
||||
],
|
||||
"geoip": "/usr/share/trojan-go/geoip.dat",
|
||||
"geosite": "/usr/share/trojan-go/geosite.dat"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user