Add proxy_base_prefix option to help run in a subdir behind a proxy
I have a setup where Radicale is running as the normal process, and nginx is acting as proxy for Radicale for requests under /radicale/. This means that all requests to nginx that go to /radicale/ are sent to a radicale server that expects requests coming at /. Obviously, all the href need to have the /radicale/ prefix to have things work. So a new option proxy_base_prefix is added to allow having such a setup. All href that are sent in the replies will have the proxy_base_prefix prepended.
This commit is contained in:
3
config
3
config
@ -29,6 +29,9 @@ key = /etc/apache2/ssl/server.key
|
||||
dns_lookup = True
|
||||
# base URL if / is not the CalDAV root. If set, must start with /
|
||||
base_prefix =
|
||||
# base URL if Radicale is running with / as CalDAV root, but in a subdir behind a proxy (like nginx). If set, must start with /
|
||||
proxy_base_prefix =
|
||||
|
||||
|
||||
[encoding]
|
||||
# Encoding for responding requests
|
||||
|
Reference in New Issue
Block a user