diff --git a/machines/yuzuru/services/static-sites.nix b/machines/yuzuru/services/static-sites.nix index 9889e18..ffa17d3 100644 --- a/machines/yuzuru/services/static-sites.nix +++ b/machines/yuzuru/services/static-sites.nix @@ -18,6 +18,10 @@ globalRedirect = "https://brennende.autos/"; }; + + "share.sbruder.de".locations."= /".extraConfig = '' + autoindex off; + ''; }; sbruder.static-webserver.vhosts = { @@ -50,5 +54,18 @@ ]; user.name = "salespoint"; }; + + "share.sbruder.de" = { + redirects = [ ]; + user.name = "share"; + }; }; + + services.nginx-interactive-index.virtualHosts = { + "share.sbruder.de".locations."/".enable = true; + }; + + sbruder.restic.backups.system.extraExcludes = [ + config.sbruder.static-webserver.vhosts."share.sbruder.de".root + ]; }