diff options
author | Marc Coquand <marc@mccd.space> | 2024-01-30 11:02:54 -0600 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-01-30 11:02:54 -0600 |
commit | dcdd069d61042c08d644e30d18903b58313799c4 (patch) | |
tree | 884a863f46fced989cffd7592be4ceb27c29f222 /configuration.nix | |
parent | 3ae3f0e59606de99ffd6c6234682eefee8146ec3 (diff) | |
download | nixos-dcdd069d61042c08d644e30d18903b58313799c4.tar.gz nixos-dcdd069d61042c08d644e30d18903b58313799c4.tar.bz2 nixos-dcdd069d61042c08d644e30d18903b58313799c4.zip |
Ann: Add SVG to cache
Diffstat (limited to 'configuration.nix')
-rw-r--r-- | configuration.nix | 2 |
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"; ''; |