Skip to content

Commit

Permalink
Merge pull request #1310 from quite/doc-radicale-at-root
Browse files Browse the repository at this point in the history
Document removal of X-Script-Name when serving Radicale at root (/)
  • Loading branch information
pbiering authored Mar 1, 2024
2 parents 2b6626d + 3fd3bf5 commit 668ad03
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 668ad03

Please sign in to comment.