mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
PROXY: Restrict to specified addresses/hostnames
This commit is contained in:
parent
77bf7173ff
commit
8885f14f19
4 changed files with 54 additions and 36 deletions
|
|
@ -46,12 +46,13 @@ type Config struct {
|
|||
|
||||
Server struct {
|
||||
PassConfig
|
||||
Name string
|
||||
Database string
|
||||
Listen []string
|
||||
Wslisten string
|
||||
Log string
|
||||
MOTD string
|
||||
Name string
|
||||
Database string
|
||||
Listen []string
|
||||
Wslisten string
|
||||
Log string
|
||||
MOTD string
|
||||
ProxyAllowedFrom []string `yaml:"proxy-allowed-from"`
|
||||
}
|
||||
|
||||
SSLListener map[string]*SSLListenConfig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue