From a1bc2cdbcf5a2140e740d8757081aef2ce420015 Mon Sep 17 00:00:00 2001 From: x3 Date: Wed, 28 Feb 2024 12:27:41 +0100 Subject: [PATCH] ID Cache location fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c7c33d..6c0d4b8 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ server { Caching based only on file id can be enabled with this example configuration ```cfg -location ~ /-([a-zA-Z0-9]+)/? { +location ~ ^/-([a-zA-Z0-9]+) { # Other caching options are omitted here... proxy_cache_revalidate on; proxy_cache_key "$host$1";