ID Cache location fix
This commit is contained in:
parent
785a59992e
commit
a1bc2cdbcf
|
@ -38,7 +38,7 @@ server {
|
||||||
|
|
||||||
Caching based only on file id can be enabled with this example configuration
|
Caching based only on file id can be enabled with this example configuration
|
||||||
```cfg
|
```cfg
|
||||||
location ~ /-([a-zA-Z0-9]+)/? {
|
location ~ ^/-([a-zA-Z0-9]+) {
|
||||||
# Other caching options are omitted here...
|
# Other caching options are omitted here...
|
||||||
proxy_cache_revalidate on;
|
proxy_cache_revalidate on;
|
||||||
proxy_cache_key "$host$1";
|
proxy_cache_key "$host$1";
|
||||||
|
|
Loading…
Reference in New Issue