From 673d393b5ad9d82e5c17aee56186ae0de9c73c8e Mon Sep 17 00:00:00 2001 From: zackartz Date: Fri, 3 May 2024 18:27:09 -0400 Subject: [PATCH] add node.nyc --- hosts/pluto/configuration.nix | 3 --- hosts/pluto/services/nginx.nix | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/pluto/configuration.nix b/hosts/pluto/configuration.nix index 961eb0b..ef10c71 100644 --- a/hosts/pluto/configuration.nix +++ b/hosts/pluto/configuration.nix @@ -85,9 +85,6 @@ security.acme = { acceptTerms = true; defaults.email = "zach@zacharymyers.com"; - certs."node.nyc.zackmyers.io" = { - email = "zach@zacharymyers.com"; - }; }; # Some programs need SUID wrappers, can be configured further or are diff --git a/hosts/pluto/services/nginx.nix b/hosts/pluto/services/nginx.nix index 68c4b7d..339eba9 100644 --- a/hosts/pluto/services/nginx.nix +++ b/hosts/pluto/services/nginx.nix @@ -3,6 +3,10 @@ enable = true; package = pkgs.nginxStable.override {openssl = pkgs.libressl;}; virtualHosts = { + "node.nyc.zackmyers.io" = { + forceSSL = true; + enableACME = true; + }; }; }; }