Add analytics tunnels to dev Caddyfile: /stats/* and /assets/perf.js
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,20 @@
|
|||||||
:80 {
|
:80 {
|
||||||
root * /app/public
|
root * /app/public
|
||||||
|
|
||||||
|
handle_path /stats/* {
|
||||||
|
rewrite * {uri}
|
||||||
|
reverse_proxy https://tools-security.esy-web.dev {
|
||||||
|
header_up Host tools-security.esy-web.dev
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
handle /assets/perf.js {
|
||||||
|
rewrite * /beacon.min.js
|
||||||
|
reverse_proxy https://static.cloudflareinsights.com {
|
||||||
|
header_up Host static.cloudflareinsights.com
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
php_fastcgi php:9000 {
|
php_fastcgi php:9000 {
|
||||||
trusted_proxies private_ranges
|
trusted_proxies private_ranges
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user