feat(koi): jetbra mirror

This commit is contained in:
alina 🌸 2025-01-03 21:50:13 +03:00
parent 29132575ff
commit 6993dc5b6f
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI
2 changed files with 8 additions and 0 deletions

View file

@ -5,5 +5,12 @@
forceSSL = true; forceSSL = true;
useACMEHost = "stupid.fish"; useACMEHost = "stupid.fish";
root = pkgs.copyPathToStore ./assets; root = pkgs.copyPathToStore ./assets;
locations."/jetbra/" = {
extraConfig = ''
alias /mnt/s3-desu-priv-encrypted/jetbra/;
try_files $uri $uri/ /index.html;
'';
};
}; };
} }

View file

@ -90,5 +90,6 @@
extraDomainNames = [ "*.s3.stupid.fish" ]; extraDomainNames = [ "*.s3.stupid.fish" ];
}; };
}; };
users.users.nginx.extraGroups = [ "geesefs" ];
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
} }