Nextcloud - Pangolin #985
Unanswered
kaylopez1962
asked this question in
Q&A
Replies: 2 comments
-
|
It's a little hacky, but you could apply these middlewares to the websecure entrypoint in the TRaefik config and match the hosts to that of your Nextcloud domain/subdomain so it only applies to that resource |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi, I have the same problem - to see a ample config for traefik_config.yml for this hack would help me very much, it would be great if you could direct me to a ressource where i could find such an example. Thanks for the great software, Frank |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Pangolin to access Nextcloud using Proxmox. I need to accomplish the following:
The redirects for CalDAV or CardDAV does not work if Nextcloud is running behind a reverse proxy. The recommended solution is that your reverse proxy does the redirects.
Traefik 1
Using Docker labels:
traefik.frontend.redirect.permanent: 'true'
traefik.frontend.redirect.regex: 'https://(.*)/.well-known/(?:card|cal)dav'
traefik.frontend.redirect.replacement: 'https://$$1/remote.php/dav'
Using traefik.toml:
[frontends.frontend1.redirect]
regex = "https://(.*)/.well-known/(?:card|cal)dav"
replacement = "https://$1/remote.php/dav
permanent = true`
How can I accomplish this?
Beta Was this translation helpful? Give feedback.
All reactions