about summary refs log tree commit diff
path: root/ops/nixos/www/b.tvl.fyi.nix
blob: 3d8a4068aa11436c418ed5ad16684b928f8f1f60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, ... }:

{
  imports = [
    ./base.nix
  ];

  config = {
    services.nginx.virtualHosts."b.tvl.fyi" = {
      serverName = "b.tvl.fyi";
      enableACME = true;
      forceSSL = true;

      extraConfig = ''
        location / {
          proxy_pass http://localhost:${toString config.services.depot.panettone.port};
        }
      '';
    };
  };
}