mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #5508 from mrtumnus/patch-2
Add Traefik v1 TOML example
This commit is contained in:
commit
c3beaeba74
@ -70,13 +70,23 @@ Thanks to `@ffried <https://github.com/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 <https://github.com/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 <https://github.com/pauvos>`_ and `@mrtumnus <https://github.com/mrtumnus>`_ for traefik examples.
|
||||
|
||||
Traefik 2
|
||||
^^^^^^^^^
|
||||
|
||||
Loading…
Reference in New Issue
Block a user