diff --git a/nixos/modules/services/web-apps/bentopdf.nix b/nixos/modules/services/web-apps/bentopdf.nix index 651896c41ea4..bf03beccc938 100644 --- a/nixos/modules/services/web-apps/bentopdf.nix +++ b/nixos/modules/services/web-apps/bentopdf.nix @@ -71,7 +71,7 @@ in ''; }; - locations."~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$".extraConfig = '' + locations."~* \\.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$".extraConfig = '' expires 1y; add_header Cache-Control "public, immutable"; '';