From: Ismaƫl Bouya
Date: Mon, 10 Feb 2020 16:03:32 +0000 (+0100)
Subject: Add DAV landing page
X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=commitdiff_plain;h=f00e1c4bc8279400edf0ef56983e59a3fe95a8f3
Add DAV landing page
---
diff --git a/modules/private/websites/tools/dav/default.nix b/modules/private/websites/tools/dav/default.nix
index d30c04a..c74930a 100644
--- a/modules/private/websites/tools/dav/default.nix
+++ b/modules/private/websites/tools/dav/default.nix
@@ -35,7 +35,7 @@ in {
certName = "eldiron";
addToCerts = true;
hosts = ["dav.immae.eu" ];
- root = null;
+ root = "/run/current-system/webapps/_dav";
extraConfig = [
infcloud.vhostConf
davical.apache.vhostConf
@@ -46,6 +46,7 @@ in {
davical = davical.phpFpm.pool;
};
+ myServices.websites.webappDirs._dav = ./www;
myServices.websites.webappDirs."${davical.apache.webappName}" = davical.webRoot;
myServices.websites.webappDirs."${infcloud.webappName}" = pkgs.webapps.infcloud;
};
diff --git a/modules/private/websites/tools/dav/www/index.html b/modules/private/websites/tools/dav/www/index.html
new file mode 100644
index 0000000..91c25ba
--- /dev/null
+++ b/modules/private/websites/tools/dav/www/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+
+ Dav configuration
+
+
+
+
+ Dav configuration:
+
+ - Server: https://dav.immae.eu/caldav.php
+
+
+
+ Clients:
+
+
+
+
+