2021-09-25 20:51:24 +00:00
|
|
|
{ config, depot, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.nginx = {
|
|
|
|
enable = lib.mkDefault true;
|
|
|
|
virtualHosts."as205479.net" = {
|
|
|
|
forceSSL = true;
|
|
|
|
locations."/".root = depot.web.as205479 config.networking.hostName;
|
|
|
|
};
|
|
|
|
};
|
2022-03-07 00:52:03 +00:00
|
|
|
my.vault.acmeCertificates."as205479.net" = {
|
|
|
|
role = "letsencrypt-gcloud-as205479";
|
|
|
|
extraNames = [ "www.as205479.net" ];
|
|
|
|
nginxVirtualHosts = [ "as205479.net" ];
|
|
|
|
};
|
2021-09-25 20:51:24 +00:00
|
|
|
}
|