diff --git a/hosts/web-01.cloonar.com/sites/paraclub.cloonar.dev.nix b/hosts/web-01.cloonar.com/sites/paraclub.cloonar.dev.nix index 76ab03d..3a02864 100644 --- a/hosts/web-01.cloonar.com/sites/paraclub.cloonar.dev.nix +++ b/hosts/web-01.cloonar.com/sites/paraclub.cloonar.dev.nix @@ -18,23 +18,6 @@ in { index index.html; ''; - locations."~* \.(jpe?g|png)$".extraConfig = '' - set $red Z; - - if ($http_accept ~* "webp") { - set $red A; - } - - if (-f $document_root/webp/$request_uri.webp) { - set $red "''${red}B"; - } - - if ($red = "AB") { - add_header Vary Accept; - rewrite ^ /webp/$request_uri.webp; - } - ''; - locations."~* \.(js|jpg|gif|png|webp|css|woff2)$".extraConfig = '' expires 365d; add_header Pragma "public";