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; +#}