diff --git a/admin_manual/configuration_server/reverse_proxy_configuration.rst b/admin_manual/configuration_server/reverse_proxy_configuration.rst index bed0b02a3..6ed2dd287 100644 --- a/admin_manual/configuration_server/reverse_proxy_configuration.rst +++ b/admin_manual/configuration_server/reverse_proxy_configuration.rst @@ -70,13 +70,23 @@ Thanks to `@ffried `_ for apache2 example. Traefik 1 ^^^^^^^^^ + +Using docker tags: :: traefik.frontend.redirect.permanent: 'true' traefik.frontend.redirect.regex: https://(.*)/.well-known/(card|cal)dav traefik.frontend.redirect.replacement: https://$$1/remote.php/dav/ -Thanks to `@pauvos `_ for traefik example. +Using traefik.toml: +:: + + [frontends.frontend1.redirect] + regex = "https://(.*)/.well-known/(card|cal)dav" + replacement = "https://$1/remote.php/dav/ + permanent = true + +Thanks to `@pauvos `_ and `@mrtumnus `_ for traefik examples. Traefik 2 ^^^^^^^^^