From 5cafd29d7f96ea1de0c334e5f5dd8bf785383544 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Fri, 18 Oct 2024 08:23:16 +0200 Subject: [PATCH] initial nginx config file --- contrib/nginx/radicale.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 contrib/nginx/radicale.conf diff --git a/contrib/nginx/radicale.conf b/contrib/nginx/radicale.conf new file mode 100644 index 00000000..fea82d03 --- /dev/null +++ b/contrib/nginx/radicale.conf @@ -0,0 +1,21 @@ +### Proxy Forward to local running "radicale" server +### +### Usual configuration file location: /etc/nginx/default.d/ + +## Base URI: /radicale/ +#location /radicale/ { +# proxy_pass http://localhost: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; +#} + +## Base URI: / +#location / { +# proxy_pass http://localhost: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; +#}