From 90d2a6ec19bab73df7974a07cd3b4f36016f3a88 Mon Sep 17 00:00:00 2001 From: JoseFilipeFerreira <36403066+JoseFilipeFerreira@users.noreply.github.com> Date: Thu, 27 Jun 2024 12:03:04 +0100 Subject: [PATCH] Add NGINX configuration --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index a69f3ea..1d24c77 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,14 @@ filesystem_folder = /collections # add git versioning to calendar database # hook = git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s) ``` + +## NGINX setup +``` +location /radicale/ { + proxy_pass http://127.0.0.1:5232/; + proxy_set_header X-Script-Name /radicale; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $http_host; + proxy_pass_header Authorization; +} +```