From 833a9c74307f7c786d5ca8efa3362bf681ab1cd2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 17 Oct 2019 15:17:42 +0800 Subject: [PATCH] nixbld: add perso.m-labs.hk --- nixbld-etc-nixos/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 9c31e09..bb46d65 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -346,6 +346,7 @@ ACTION=="add", SUBSYSTEM=="tty", \ "chat.m-labs.hk" = null; "hooks.m-labs.hk" = null; "forum.m-labs.hk" = null; + "perso.m-labs.hk" = null; "openhardware.hk" = null; "git.openhardware.hk" = null; @@ -478,6 +479,11 @@ ACTION=="add", SUBSYSTEM=="tty", \ include /var/www/flarum/.nginx.conf; ''; }; + "perso.m-labs.hk" = { + addSSL = true; + useACMEHost = "nixbld.m-labs.hk"; + root = "/var/www/perso"; + }; "git.openhardware.hk" = { forceSSL = true;