about summary refs log blame commit diff
path: root/ops/modules/www/signup.tvl.fyi.nix
blob: 1b193f99a9ed952ca9a8b666340610713416a28f (plain) (tree)


















                                                                                                   
{ depot, ... }:

{
  imports = [
    ./base.nix
  ];

  config = {
    services.nginx.virtualHosts."signup.tvl.fyi" = {
      root = depot.web.pwcrypt;
      enableACME = true;
      forceSSL = true;

      extraConfig = ''
        add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
      '';
    };
  };
}