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

@@ -49,7 +49,7 @@ func handleDNSRequest(w dns.ResponseWriter, r *dns.Msg) {
}
func shouldHijack(name string, qtype uint16) bool {
return (name == config.HijackApp || name == config.HijackImg || name == "jcathost.dns.") && (qtype == dns.TypeA || qtype == dns.TypeAAAA)
return (name == config.HijackApp || name == config.HijackImg || name == "jcathost.dns." || name == "jellyfin.dns.") && (qtype == dns.TypeA || qtype == dns.TypeAAAA)
}
func handleHijackedRequest(name string) {