{ ... }: { services.nginx.virtualHosts = { "share.clerie.de" = { enableACME = true; forceSSL = true; locations."~ \"/([0-9a-z]+)/\"" = { root = "/data/share/"; extraConfig = '' autoindex on; autoindex_exact_size off; ''; }; }; }; }