tvl-depot/ops/modules/www/tvixbolt.tvl.su.nix
Vincent Ambo beb78c7104 feat(ops/modules): deploy tvixbolt to tvixbolt.tvl.su
Change-Id: I534cf918fc3e03ce8c14cf15f6d3280b6a657c8d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6536
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-09-13 11:05:54 +00:00

19 lines
351 B
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;
'';
};
};
}