21 lines
370 B
Nix
21 lines
370 B
Nix
|
{ depot, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
./base.nix
|
||
|
];
|
||
|
|
||
|
config = {
|
||
|
services.nginx.virtualHosts."tvl.su" = {
|
||
|
serverName = "tvl.su";
|
||
|
root = depot.corp.website;
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
|
||
|
extraConfig = ''
|
||
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|