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";
|
2022-03-17 23:31:55 +00:00
|
|
|
hostnames = [ "as205479.net" "www.as205479.net" ];
|
2022-03-07 00:52:03 +00:00
|
|
|
nginxVirtualHosts = [ "as205479.net" ];
|
|
|
|
};
|
2021-09-25 20:51:24 +00:00
|
|
|
}
|