mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Update Traefik config for v2
This commit is contained in:
@@ -63,8 +63,8 @@ Apache2
|
||||
|
||||
Thanks to `@ffried <https://github.com/ffried>`_ for apache2 example.
|
||||
|
||||
Traefik
|
||||
^^^^^^^
|
||||
Traefik 1
|
||||
^^^^^^^^^
|
||||
::
|
||||
|
||||
traefik.frontend.redirect.permanent: 'true'
|
||||
@@ -73,6 +73,16 @@ Traefik
|
||||
|
||||
Thanks to `@pauvos <https://github.com/pauvos>`_ for traefik example.
|
||||
|
||||
Traefik 2
|
||||
^^^^^^^^^
|
||||
::
|
||||
|
||||
[http.middlewares]
|
||||
[http.middlewares.nextcloud-redirectregex.redirectRegex]
|
||||
permanent = true
|
||||
regex = "https://(.*)/.well-known/(card|cal)dav"
|
||||
replacement = "https://${1}/remote.php/dav/"
|
||||
|
||||
HAProxy
|
||||
^^^^^^^
|
||||
::
|
||||
|
||||
Reference in New Issue
Block a user