about summary refs log tree commit diff
path: root/ops/modules/www/tvixbolt.tvl.su.nix
{ depot, ... }:

{
  imports = [
    ./base.nix
  ];

  config = {
    services.nginx.virtualHosts."tvixbolt.tvl.su" = {
      root = depot.corp.tvixbolt;
      enableACME = true;
      forceSSL = true;

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