about summary refs log blame commit diff
path: root/ops/nixos/www/b.tvl.fyi.nix
blob: 9bbdcd22aed66177cda5f5476570ce9a46ac82c4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                               
                                     










                                                                                       
{ 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};
        }
      '';
    };
  };
}