From f00e1c4bc8279400edf0ef56983e59a3fe95a8f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Isma=C3=ABl=20Bouya?=
Date: Mon, 10 Feb 2020 17:03:32 +0100
Subject: Add DAV landing page
---
modules/private/websites/tools/dav/default.nix | 3 +-
modules/private/websites/tools/dav/www/index.html | 42 +++++++++++++++++++++++
2 files changed, 44 insertions(+), 1 deletion(-)
create mode 100644 modules/private/websites/tools/dav/www/index.html
(limited to 'modules')
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:
+
+
+
+
+
--
cgit v1.2.3