]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add bookstack for HK
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 8 Nov 2021 08:40:53 +0000 (09:40 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 9 Apr 2023 15:16:09 +0000 (17:16 +0200)
modules/private/system/dilion.nix

index a2e4f05c1b6ed8f64a0a0ae38266decfbe88bf55..98c5c8b539c2c710afa61bef3ddd896eb649accb 100644 (file)
       "zulip.agnes.carpentier.earth" = null;
 
       "ofn.nc.immae.dev" = null;
+
+      "bookstack.cc.immae.dev" = null;
     };
   };
   services.nginx = {
           auth_basic_user_file ${pkgs.writeText "htpasswd" config.myEnv.websites.caldance.integration.password};
         '';
       };
+      "bookstack.cc.immae.dev" = {
+        acmeRoot = config.myServices.certificates.webroot;
+        useACMEHost = name;
+        forceSSL = true;
+        locations."/".proxyPass = "http://localhost:4003";
+      };
       "ofn.nc.immae.dev" = {
         acmeRoot = config.myServices.certificates.webroot;
         useACMEHost = name;