nixfiles/hosts/koi/services/landing/default.nix
2025-01-03 21:50:13 +03:00

16 lines
No EOL
331 B
Nix

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