Metrics working

This commit is contained in:
Pablu23
2025-10-01 13:58:42 +02:00
parent 018d9a9022
commit 66f2811fff
7 changed files with 188 additions and 27 deletions

View File

@@ -19,10 +19,11 @@ type Config struct {
} `yaml:"ssl"`
} `yaml:"server"`
Hosts []struct {
Port int `yaml:"port"`
Remotes []string `yaml:"remotes"`
Domains []string `yaml:"domains"`
Secure bool `yaml:"secure"`
Port int `yaml:"port"`
Remotes []string `yaml:"remotes"`
Domains []string `yaml:"domains"`
Secure bool `yaml:"secure"`
Rewrite map[string]string `yaml:"rewrite"`
} `yaml:"hosts"`
RateLimit struct {
Enabled bool `yaml:"enabled"`