From b3cdb9733505185eadd4dda686fb44e3185e0a06 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Sun, 28 May 2023 20:31:53 +1000 Subject: [PATCH] add coaching.lakhwara.com static site (no build) --- hosts/cube/default.nix | 7 +++++++ secrets/helix-wg.age | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 secrets/helix-wg.age diff --git a/hosts/cube/default.nix b/hosts/cube/default.nix index a1659fe4..02185952 100644 --- a/hosts/cube/default.nix +++ b/hosts/cube/default.nix @@ -6,4 +6,11 @@ ../profiles/server ../profiles/site ]; + + services.nginx.enable = true; + services.nginx.virtualHosts."coaching.lakhwara.com" = { + forceSSL = serviceConfig.enableSSL; + enableACME = serviceConfig.enableSSL; + locations."/" = { root = "/var/lib/coaching"; index = "/index.html"; }; + }; } diff --git a/secrets/helix-wg.age b/secrets/helix-wg.age new file mode 100644 index 00000000..1bc14cc3 --- /dev/null +++ b/secrets/helix-wg.age @@ -0,0 +1,10 @@ +age-encryption.org/v1 +-> ssh-ed25519 6DaCrw igsyzrecx35FlTKXLg8msiM5mxT90UCBxty8lZwvelY +379UsHnxI+mL+Its00WVznKnDkpGi+SMLFSaHkcCcjE +-> ssh-ed25519 kgCrKA 7kGBgw8di49lYUYNLNq3PgVpoLpIvfDnGZbxipVUXXQ +ZzY77hAJn8GiPwYT88XmYw+Qi/OTmE3pXsVrot6psOE +-> Fgy[uTu-grease +9Oo+QfjC+h8Wlm1UcN1KcEa5G9t8mw9UF0aoafJYQnGBwdJAY1UgDbNVIWb3j5yD +EnIMAQ6RPEQtm9sXnDrY+f5A6vxNdYWMdSNUOcYi2In9Ux+Q9Us4d2A +--- c3Sqf+zgIZpEQ59/pCBoKFCuwAUjPCzAFImZsZ9pqZc ++G[?#k|}hn^Գl!_e(Fj֠94OZHݲyެYl=Cw4o_ \ No newline at end of file