tvl-depot/ops/nixos/www/b.tvl.fyi.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
401 B
Nix
Raw Normal View History

{ config, ... }:
{
imports = [
./base.nix
];
config = {
services.nginx.virtualHosts."b.tvl.fyi" = {
serverName = "b.tvl.fyi";
serverAliases = [ "b.tvl.su" ];
enableACME = true;
forceSSL = true;
extraConfig = ''
location / {
proxy_pass http://localhost:${toString config.services.depot.panettone.port};
}
'';
};
};
}