From: Ismaƫl Bouya Date: Sun, 7 Jun 2020 17:11:07 +0000 (+0200) Subject: Add dev pages X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=63500b22b4d274abf209b7b6e13e36564f42ecbe;hp=31e11cdfcb4455f51c8db27958d6ae8db8820401;p=perso%2FImmae%2FConfig%2FNix.git Add dev pages --- 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;