fix: quote nginx cache regex

This commit is contained in:
2026-07-22 18:10:26 +02:00
parent 089ac55b87
commit d46f1b61fb
3 changed files with 16 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
map $uri $toolbox_cache_control {
default "no-cache";
~^/(?:.*/)?assets/.*-[A-Za-z0-9_-]{8,}\.[^/]+$ "public, max-age=31536000, immutable";
"~^/(?:.*/)?assets/.*-[A-Za-z0-9_-]{8,}\.[^/]+$" "public, max-age=31536000, immutable";
}
server {