VEdge Test Origin

Origin dùng để test các tính năng trong checklist. Host: vedge.wallx.id.vn · Origin ID: CyberPanel-Test#9a2dbd · Giờ origin: 2026-11-09T10:50:08+00:00 · IP bạn (theo origin): 216.73.216.134

Kiểm tra nhanhDOM · UPS · TLS

/healthTrả "OK", no-store. Dùng cho health-check, Exempt paths của X-Vtoken.
/headersIn ra mọi header + IP mà origin nhận được. Xem X-Forwarded-For, Host, header do Header Rules thêm, X-Vtoken đã bị gỡ chưa.
/echoNhư /headers nhưng in cả body (POST/PUT). Dùng cho WAF, method lạ.

Cache & PurgeCAC · PUR

/timeJSON có generated_at + nonce, Cache-Control public max-age=3600 (?ttl=). Nonce đổi = origin được gọi lại (MISS).
/cache?ttl=30&swr=60&sie=300TTL tuỳ chỉnh, có stale-while-revalidate / stale-if-error.
/nocacheCache-Control: no-cache
/nostoreCache-Control: no-store
/privateCache-Control: private
/s-maxage?s=600max-age=10, s-maxage=600
/expires?ttl=300Chỉ có header Expires
/no-headersKhông có header cache nào
/cookieSet-Cookie + public max-age=600. Edge không nên cache chung.
/by-cookieNội dung khác theo cookie gửi lên
/query?a=1Nội dung theo query string (cache key)
/vary?on=User-AgentGửi Vary tuỳ chọn
/etagETag/Last-Modified, trả 304 khi khớp
/tagged?tag=news,homeGắn Cache-Tag / Surrogate-Key để thử purge theo tag
/assets/css/Thư mục CSS cho purge theo prefix (a.css, b.css, style.css)
/warm-urls.txtDanh sách URL để warm

Origin, Timeouts, Error pagesUPS · TMO · ERR

/slow?s=5Chờ N giây rồi trả (tối đa 600). ?ms= cho mili giây.
/stream?chunks=10&delay=3Trả từng khúc, cách nhau N giây (read timeout giữa các byte)
/status/502Trả mã bất kỳ: /status/404, /status/500, /status/503, /status?code=429
/error/504Các lối tắt /error/500, /error/502, /error/503, /error/504
/crashTrả 500 kèm body dở dang

Compression & ImageCMP · IMG

/json?kb=50JSON lớn (mặc định 20KB, tối đa 5MB)
/api/smallPhản hồi 2 byte
/size?bytes=500Text đúng N byte
/random-bytes?bytes=1048576Dữ liệu ngẫu nhiên (không nén được)
/already-gzipOrigin đã tự gzip
/data/large.jsonJSON tĩnh ~200KB
/data/small.txtText tĩnh 9 byte
/assets/css/style.cssCSS ~60KB
/assets/js/app.jsJS ~90KB
/img/huge.jpgJPG 6000×4000 (~2.4MB)
/img/large.jpgJPG 4000×3000 (~1.5MB)
/img/large.pngPNG 2400×1600 (~3MB)
/img/photo.jpgJPG 1600×1200
/img/medium.pngPNG 800×600
/img/small.jpgJPG 320×240
/img/anim.gifGIF động
/img/logo.svgSVG

Video, X-Vtoken, Token V2VT · TV2

/video/sample.mp4MP4 30 giây 720p (~6MB, hỗ trợ Range)
/video/a.m3u8HLS (đúng path ví dụ trong docs X-Vtoken)
/vod/hls/index.m3u8HLS VOD cho Token V2 (match path /vod/)
/vod/hls-aes/index.m3u8HLS mã hoá AES-128 có file key riêng (thử ký manifest/segment/key)
/premium/hls/index.m3u8HLS cho rule /premium/ (Token V2 nhiều rule)
/lab/site-a.htmlSite A "chính chủ": phát HLS bằng hls.js, gắn header X-Vtoken, test fetch/CORS
/lab/site-b.htmlSite B "kẻ hotlink": nhúng trần <img>/<video>

Bảo mật: WAF, Firewall, ACL, Rate limit, BotWAF · FW · ACL · RL · BD · BM · ADP · DDS · JSC

/search?q=testPhản chiếu q (đã escape) — gửi payload XSS
/product?id=1Thử ?id=1' OR '1'='1 (SQLi)
/loginForm đăng nhập (POST user=tester&pass=tester) cho brute-force / rate limit
/admin/Khu admin cho rule theo path
/wp-admin/Path hay bị quét
/uaIn lại User-Agent, IP, cookie (Bot Detection/Management, JS Challenge)
/uploadPOST multipart, trả số byte nhận được (giới hạn body)
/download/1mb.bin1MB
/download/10mb.bin10MB (bandwidth, rate limit theo băng thông)

Headers, CORS, Redirect, RewriteHDR · SEC · COR · RED · ORW

/set-headers?h=X-Test:1&h2=Server:fakeOrigin trả header tuỳ ý (xem Header Rules ghi đè/xoá)
/with-security-headersOrigin tự gửi XFO/CSP/HSTS (xem Security Headers ghi đè hay giữ)
/api/corsEndpoint JSON không có header CORS ở origin (để edge thêm)
/redirect?to=/new-page&code=301Redirect từ origin
/old-page301 → /new-page
/backend/anythingBackend phụ: in lại path/host nhận được (Origin Rewrite). Cũng: /v2/…, /legacy/…

Ghi chú