yuzuru/static-sites: Add share

This commit is contained in:
Simon Bruder 2024-09-21 23:33:15 +02:00
parent 0272d67fb7
commit f38e8d5217
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -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
];
}