mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Update reverse_proxy_configuration.rst
For me the original documentation examples did not work because of false formatting. Signed-off-by: pmffromspace <108571752+pmffromspace@users.noreply.github.com>
This commit is contained in:
@@ -95,10 +95,10 @@ Traefik 2
|
||||
Using Docker labels:
|
||||
::
|
||||
|
||||
traefik.http.routers.nextcloud.middlewares: 'nextcloud_redirectregex'
|
||||
traefik.http.middlewares.nextcloud_redirectregex.redirectregex.permanent: true
|
||||
traefik.http.middlewares.nextcloud_redirectregex.redirectregex.regex: 'https://(.*)/.well-known/(?:card|cal)dav'
|
||||
traefik.http.middlewares.nextcloud_redirectregex.redirectregex.replacement: 'https://$${1}/remote.php/dav'
|
||||
- "traefik.http.routers.nextcloud.middlewares=nextcloud_redirectregex@docker"
|
||||
- "traefik.http.middlewares.nextcloud_redirectregex.redirectregex.permanent=true"
|
||||
- "traefik.http.middlewares.nextcloud_redirectregex.redirectregex.regex=https://(.*)/.well-known/(?:card|cal)dav"
|
||||
- "traefik.http.middlewares.nextcloud_redirectregex.redirectregex.replacement=https://$${1}/remote.php/dav"
|
||||
|
||||
Using a TOML file:
|
||||
::
|
||||
|
||||
Reference in New Issue
Block a user