nixfiles/hosts/koi/services/landing/default.nix

16 lines
331 B
Nix
Raw Normal View History

2024-11-23 16:37:34 +03:00
{ pkgs, ... }:
2024-04-15 11:58:54 +03:00
2024-11-23 16:37:34 +03:00
{
2024-04-15 11:58:54 +03:00
services.nginx.virtualHosts."stupid.fish" = {
forceSSL = true;
useACMEHost = "stupid.fish";
2024-11-23 16:37:34 +03:00
root = pkgs.copyPathToStore ./assets;
2025-01-03 21:50:13 +03:00
locations."/jetbra/" = {
extraConfig = ''
alias /mnt/s3-desu-priv-encrypted/jetbra/;
try_files $uri $uri/ /index.html;
'';
};
2024-04-15 11:58:54 +03:00
};
}