1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Document removal of X-Script-Name when serving Radicale at root (/)

See https://github.com/Kozea/Radicale/issues/1210

If X-Script-Name header is still set to `/` we get warnings in the log
This commit is contained in:
Daniel Lublin 2023-06-15 10:57:44 +02:00
parent d7ce2f0b98
commit 3fd3bf5192

View file

@ -328,9 +328,13 @@ start the **Radicale** service.
### Reverse Proxy
When a reverse proxy is used, the path at which Radicale is available must
be provided via the `X-Script-Name` header. The proxy must remove the location
from the URL path that is forwarded to Radicale.
When a reverse proxy is used, and Radicale should be made available at a path
below the root (such as `/radicale/`), then this path must be provided via
the `X-Script-Name` header (without a trailing `/`). The proxy must remove
the location from the URL path that is forwarded to Radicale. If Radicale
should be made available at the root of the web server (in the nginx case
using `location /`), then the setting of the `X-Script-Name` header should be
removed from the example below.
Example **nginx** configuration: