Add /rum tunnel to bypass adblock for Cloudflare RUM endpoint

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-20 21:38:17 +01:00
parent e154713878
commit 361548d65c
2 changed files with 14 additions and 0 deletions

View File

@@ -23,6 +23,13 @@ ticket.e-cosplay.fr {
} }
} }
handle_path /rum {
rewrite * /cdn-cgi/rum
reverse_proxy https://cloudflareinsights.com {
header_up Host cloudflareinsights.com
}
}
@maintenance file /var/www/e-ticket/public/.update @maintenance file /var/www/e-ticket/public/.update
handle @maintenance { handle @maintenance {
root * /var/www/e-ticket/public root * /var/www/e-ticket/public

View File

@@ -15,6 +15,13 @@
} }
} }
handle_path /rum {
rewrite * /cdn-cgi/rum
reverse_proxy https://cloudflareinsights.com {
header_up Host cloudflareinsights.com
}
}
php_fastcgi php:9000 { php_fastcgi php:9000 {
trusted_proxies private_ranges trusted_proxies private_ranges
} }