about summary refs log tree commit diff
path: root/ops/modules/www/sanduny.tvl.su.nix
blob: 1a60d06fa06248800b1d34a0ef63971ad459659a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Redirect sanduny.tvl.su to the machine configuration.

{
  imports = [
    ./base.nix
  ];

  config.services.nginx.virtualHosts."sanduny.tvl.su" = {
    serverName = "sanduny.tvl.su";
    enableACME = true;

    extraConfig = ''
      return 302 https://at.tvl.fyi/?q=%2F%2Fops%2Fmachines%2Fsanduny;
    '';
  };
}