added more config options + reverse proxy for secure jellyfin servers (tryout) && connecting to JF server :)

This commit is contained in:
2024-02-15 00:18:03 +01:00
parent 9ca119e4df
commit 393f5db892
9 changed files with 175 additions and 24 deletions

View File

@@ -11,6 +11,8 @@ import (
)
type Config struct {
DnsServEN bool `toml:"dns_server_en"`
WebServEN bool `toml:"web_server_en"`
HijackIP string `toml:"hijack_ip"`
HijackApp string `toml:"hijack_app"`
HijackImg string `toml:"hijack_img"`
@@ -18,6 +20,7 @@ type Config struct {
ForwardPort string `toml:"forward_port"`
HttpsPort string `toml:"https_port"`
HttpPort string `toml:"http_port"`
JfRevURL string `toml:"jellyfin_url"`
CertName string `toml:"common_name"`
}