diff --git a/cfg/etc/nginx/sites-available/melpa b/cfg/etc/nginx/sites-available/melpa index 607d6c19..3f4ca8b4 100644 --- a/cfg/etc/nginx/sites-available/melpa +++ b/cfg/etc/nginx/sites-available/melpa @@ -69,7 +69,7 @@ server { proxy_temp_file_write_size 64k; } - location /packages/*.svg { + location ~ ^/packages/.*\.svg { add_header Cache-Control no-cache; } } diff --git a/cfg/etc/nginx/sites-available/melpa-stable b/cfg/etc/nginx/sites-available/melpa-stable index 2ce7b200..c5cd8edd 100644 --- a/cfg/etc/nginx/sites-available/melpa-stable +++ b/cfg/etc/nginx/sites-available/melpa-stable @@ -67,7 +67,8 @@ server { proxy_temp_file_write_size 64k; } - location /packages/*.svg { + + location ~ ^/packages/.*\.svg { add_header Cache-Control no-cache; } }