From b3f63d0f9dfa0d221e0dead84cc58b7078920d37 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sat, 17 Feb 2024 22:45:05 +0100 Subject: [PATCH] doc: server configuration: allow accessing and caching SVG assets --- doc/md/Server-configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/md/Server-configuration.md b/doc/md/Server-configuration.md index 16763f3cd..a2db2bebb 100644 --- a/doc/md/Server-configuration.md +++ b/doc/md/Server-configuration.md @@ -202,7 +202,7 @@ MDPrivateKeys RSA 4096 - + Require all denied @@ -212,7 +212,7 @@ MDPrivateKeys RSA 4096 Require all granted - + # allow client-side caching of static files Header set Cache-Control "max-age=2628000, public, must-revalidate, proxy-revalidate" @@ -319,7 +319,7 @@ server { } # allow client-side caching of static files - location ~* \.(?:ico|css|js|gif|jpe?g|png|ttf|oet|woff2?)$ { + location ~* \.(?:ico|css|js|gif|jpe?g|png|svg|ttf|oet|woff2?)$ { expires max; add_header Cache-Control "public, must-revalidate, proxy-revalidate"; # HTTP 1.0 compatibility