From 63500b22b4d274abf209b7b6e13e36564f42ecbe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 7 Jun 2020 19:11:07 +0200 Subject: [PATCH] Add dev pages --- modules/private/system/dilion.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/private/system/dilion.nix b/modules/private/system/dilion.nix index 977d427..9afa057 100644 --- a/modules/private/system/dilion.nix +++ b/modules/private/system/dilion.nix @@ -116,6 +116,7 @@ extraDomains = { "discourse.immae.eu" = null; "discourse.cip-ca.fr" = null; + "dev.immae.eu" = null; }; }; services.nginx = { @@ -124,6 +125,12 @@ recommendedGzipSettings = true; recommendedProxySettings = true; virtualHosts = { + "dev.immae.eu" = { + acmeRoot = config.myServices.certificates.webroot; + useACMEHost = name; + forceSSL = true; + root = "/home/immae/www"; + }; "discourse.immae.eu" = { acmeRoot = config.myServices.certificates.webroot; useACMEHost = name; -- 2.41.0