summaryrefslogtreecommitdiff
path: root/Biz
diff options
context:
space:
mode:
Diffstat (limited to 'Biz')
-rw-r--r--Biz/Bild/Sources.json12
-rw-r--r--Biz/Cloud/Web.nix6
2 files changed, 18 insertions, 0 deletions
diff --git a/Biz/Bild/Sources.json b/Biz/Bild/Sources.json
index a1db11f..874e9a5 100644
--- a/Biz/Bild/Sources.json
+++ b/Biz/Bild/Sources.json
@@ -146,6 +146,18 @@
"url": "https://github.com/leshchenko1979/perscache/archive/0.6.1.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
+ "radicale": {
+ "branch": "master",
+ "description": "A simple CalDAV (calendar) and CardDAV (contact) server.",
+ "homepage": "https://radicale.org",
+ "owner": "kozea",
+ "repo": "radicale",
+ "rev": "d7ce2f0b98589400b0e1718cfd7bb29b7ebeaebe",
+ "sha256": "08himwwwikhnn4amqzgbbqq323xhfy7yf5vaqczkm2fw6h1s3skg",
+ "type": "tarball",
+ "url": "https://github.com/kozea/radicale/archive/d7ce2f0b98589400b0e1718cfd7bb29b7ebeaebe.tar.gz",
+ "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
+ },
"regex-applicative": {
"branch": "master",
"description": "Regex-based parsing with applicative interface",
diff --git a/Biz/Cloud/Web.nix b/Biz/Cloud/Web.nix
index 532c843..f97f6e0 100644
--- a/Biz/Cloud/Web.nix
+++ b/Biz/Cloud/Web.nix
@@ -164,6 +164,12 @@ in
locations."/".proxyPass = "http://localhost:${toString ports.radicale}";
forceSSL = true;
useACMEHost = rootDomain;
+ extraConfig = ''
+ proxy_set_header X-Script-Name /radicale;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header Host $host;
+ proxy_pass_header Authorization;
+ '';
};
"reddit.${rootDomain}" = {