summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-01-30 11:02:54 -0600
committerMarc Coquand <marc@mccd.space>2024-01-30 11:02:54 -0600
commitdcdd069d61042c08d644e30d18903b58313799c4 (patch)
tree884a863f46fced989cffd7592be4ceb27c29f222
parent3ae3f0e59606de99ffd6c6234682eefee8146ec3 (diff)
downloadnixos-dcdd069d61042c08d644e30d18903b58313799c4.tar.gz
nixos-dcdd069d61042c08d644e30d18903b58313799c4.tar.bz2
nixos-dcdd069d61042c08d644e30d18903b58313799c4.zip
Ann: Add SVG to cache
-rw-r--r--configuration.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/configuration.nix b/configuration.nix
index 1804b58..bfa74e1 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -151,7 +151,7 @@ in {
virtualHosts."orsus.id" = {
enableACME = true;
addSSL = true;
- locations."~* .(?:css|js|woff2)$".extraConfig = ''
+ locations."~* .(?:css|js|woff2|svg)$".extraConfig = ''
expires 1y;
add_header Cache-Control "public";
'';