Add multiple remotes and round robin

This commit is contained in:
Pablu23
2025-05-19 09:30:07 +02:00
parent 403c89b068
commit 55a2d2b708
5 changed files with 73 additions and 36 deletions

View File

@@ -15,7 +15,7 @@ type Config struct {
} `yaml:"server"`
Hosts []struct {
Port int `yaml:"port"`
Remote string `yaml:"remote"`
Remotes []string `yaml:"remotes"`
Domains []string `yaml:"domains"`
Public bool `yaml:"public"`
Secure bool `yaml:"secure"`