ID Cache location fix

This commit is contained in:
x3 2024-02-28 12:27:41 +01:00
parent 785a59992e
commit a1bc2cdbcf
Signed by: x3
GPG Key ID: 7E9961E8AD0E240E
1 changed files with 1 additions and 1 deletions

View File

@ -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";