fix adguard

This commit is contained in:
mercury
2024-12-22 14:58:02 +04:00
parent 2525181655
commit 1964ed0079
+3 -2
View File
@@ -5860,7 +5860,8 @@ DNS-over-HTTPS with IP:
}
}
if ($flag) {
return false;
header('500', true, 500);
exit;
}
if (!empty($_GET['r'])) {
@@ -6363,7 +6364,7 @@ DNS-over-HTTPS with IP:
if (\$cookie_c != "$h") {
$s rewrite .* /webapp redirect;
}
proxy_pass http://ad;
proxy_pass http://ad/;
proxy_redirect / /adguard/;
proxy_cookie_path / /adguard/;
}