From c309b54753a5c9ea296d0b4371b5aa7f61e0b781 Mon Sep 17 00:00:00 2001 From: Julien Moutinho <julm+sourcephile-nix@sourcephile.fr> Date: Thu, 2 Mar 2023 00:51:54 +0100 Subject: [PATCH] mermet: nginx: autogeree.net: www: publish camera captures in by-uuid --- hosts/mermet/nginx/autogeree.net/www.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/mermet/nginx/autogeree.net/www.nix b/hosts/mermet/nginx/autogeree.net/www.nix index c3879c1..e644af7 100644 --- a/hosts/mermet/nginx/autogeree.net/www.nix +++ b/hosts/mermet/nginx/autogeree.net/www.nix @@ -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; + ''; + }; }; }; } -- 2.47.2