From 0cc41a8f1352455cd62e979c6fad54d4015ff144 Mon Sep 17 00:00:00 2001 From: Robert Rapp Date: Wed, 16 Jul 2025 19:22:32 +0200 Subject: [PATCH] make case sensitive not relevant anymore --- nginx/conf.d/default.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index c67b44e..8714036 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -13,7 +13,7 @@ server { # ---------- Audio (and optional video) ---------- # 30-day cache; adjust max-age as needed. - location ~ \.(opus|ogg|mp3|flac|wav|m4a|aac|mp4|webm)$ { + location ~* \.(opus|flac|ogg|mp3|wav|m4a|aac)$ { add_header Cache-Control "public, max-age=2592000" always; # Teach Nginx any MIME types it doesn’t already know: