From f3ac3cd67f3befed5f6861cb0de15383698e67d8 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Thu, 16 Jan 2025 15:07:51 +0000 Subject: [PATCH] nixos/middleman: Add pubkey and HTTP access to p.nul.ie --- .../boxes/colony/vms/shill/containers/middleman/vhosts.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix b/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix index d5ef56b..9e2d070 100644 --- a/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix +++ b/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix @@ -79,6 +79,10 @@ in sha256 = "018wh6ps19n7323fi44njzj9yd4wqslc90dykbwfyscv7bgxhlar"; }; } + { + name = "ssh.pub"; + path = lib.my.c.sshKeyFiles.me; + } ]; } wellKnown @@ -343,6 +347,8 @@ in useACMEHost = pubDomain; }; "public.${pubDomain}" = { + onlySSL = false; + addSSL = true; serverAliases = [ "p.${pubDomain}" ]; locations."/" = { root = "/mnt/media/public";