diff --git a/configuration.nix b/configuration.nix index 2f23023..b68e69c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -393,7 +393,11 @@ # User static files locations."/~rnhmjoj/" = { alias = "/run/nginx/static/rnhmjoj/"; - extraConfig = "charset UTF-8;"; + extraConfig = '' + charset UTF-8; + # directories with listing + location ~ /~rnhmjoj/[^/]+.index/ { autoindex on; } + ''; }; locations."/~giu/" = { alias = "/run/nginx/static/giu/";