chore: resonite, storage and forgejo setup
This commit is contained in:
parent
d79fe97b7e
commit
279e95a1ec
18 changed files with 203 additions and 167 deletions
17
systems/rena/impl/storage.nix
Normal file
17
systems/rena/impl/storage.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /srv/storage 0775 root wheel -"
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts."storage.avali.network" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
root = "/srv/storage";
|
||||
|
||||
extraConfig = ''
|
||||
autoindex on;
|
||||
autoindex_localtime on;
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue