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
This commit is contained in:
Vincent Ambo 2022-09-12 16:25:45 +03:00 committed by clbot
parent 20b855042d
commit beb78c7104
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ 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;
'';
};
};
}