losurdo: vnstat: enable service
[sourcephile-nix.git] / hosts / mermet / nginx / autogeree.net / www.nix
index c3879c1776661fff73e4c4d455e18042f57afeb3..e644af7fd3b94f3e38a3a30e8a53ed6355ece383 100644 (file)
@@ -55,6 +55,13 @@ in
           fancyindex_exact_size off;
         '';
       };
+      # Disable basicAuthFile for by-uuid
+      locations."~ ^/julm/perso/camera/([0-9]+/[0-9][0-9]/by-uuid/[0-9a-f-]+/.+)$" = {
+        alias = "${root}/julm/perso/camera/$1";
+        extraConfig = ''
+          autoindex off;
+        '';
+      };
     };
   };
 }