From 55bb620de098c891f15b3314fa25a1226ef6ccd2 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 15 Mar 2026 11:18:44 -0700 Subject: [PATCH] docs: update README and config to reflect exact-match-only whitelist Remove suffix match documentation and config comments since whitelist now only supports exact host matches. --- README.md | 4 +--- config.example.yml | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 96b4c1a..b129928 100644 --- a/README.md +++ b/README.md @@ -98,9 +98,7 @@ expiration 1704067200: **Whitelist patterns:** -- **Exact match**: `cdn.example.com` — matches only that host -- **Suffix match**: `.example.com` — matches `cdn.example.com`, - `images.example.com`, and `example.com` +- **Exact match only**: `cdn.example.com` — matches only that host ### Configuration diff --git a/config.example.yml b/config.example.yml index 1660cb4..44f9b94 100644 --- a/config.example.yml +++ b/config.example.yml @@ -13,8 +13,7 @@ state_dir: ./data # Generate with: openssl rand -base64 32 signing_key: "CHANGE_ME_generate_with_openssl_rand_base64_32" -# Hosts that don't require signatures -# Use "." prefix for wildcard subdomain matching (e.g., ".example.com" matches "cdn.example.com") +# Hosts that don't require signatures (exact match only) whitelist_hosts: - s3.sneak.cloud - static.sneak.cloud