]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add dev pages
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 7 Jun 2020 17:11:07 +0000 (19:11 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 7 Jun 2020 17:13:09 +0000 (19:13 +0200)
modules/private/system/dilion.nix

index 977d427e045fb0368de1124e22d993030e287bf0..9afa05785cf2550d7ecaaa253fab85ea183f592d 100644 (file)
     extraDomains = {
       "discourse.immae.eu" = null;
       "discourse.cip-ca.fr" = null;
+      "dev.immae.eu" = null;
     };
   };
   services.nginx = {
     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;