diff options
author | Ben Sima <ben@bsima.me> | 2023-11-13 22:52:21 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-11-13 22:52:21 -0500 |
commit | f86874ef2092ffcd51089b1695cf8aeaa4fb2a0b (patch) | |
tree | 545792a2225e5304d1c9ee57957353b0228acb38 /Biz | |
parent | 2b4f700d7ec4ba7426119ff2404094a6fd1fe53c (diff) |
Update radicale and set recommended headers
This was leftover from work on the previous commit. I don't think its actually
needed to get my stuff working, but these headers are recommended in the docs
and the latest version supposedly has some relevant bug fixes, so I decided to
commit this.
- https://github.com/Kozea/Radicale/issues/838
- https://github.com/Kozea/Radicale/issues/954
- https://github.com/Kozea/Radicale/issues/1247
Diffstat (limited to 'Biz')
-rw-r--r-- | Biz/Bild/Sources.json | 12 | ||||
-rw-r--r-- | Biz/Cloud/Web.nix | 6 |
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}" = { |