Seafile and Collabora behind Traefik reverse-proxy


I have been mostly enjoying the software. Usually able to implement what I want in a few hours but not this time.

I have a single domain on no-ip that points to my server. Everything is in docker and all the traffic hits Traefik first. Routing happens based on path. Labels on Seafile itself

  - "traefik.enable=true"
  - "traefik.http.routers.seafile.rule=Host(``) && PathPrefix(`/seafile`)"
  - "traefik.http.routers.seafile.entrypoints=websecure"
  - "traefik.http.routers.seafile.tls.certresolver=myresolver"
  - ""

  - "traefik.http.routers.webdav.rule=Host(``) && PathPrefix(`/seafdav`)"
  - "traefik.http.routers.webdav.entrypoints=websecure"
  - "traefik.http.routers.webdav.tls.certresolver=myresolver"

  - "traefik.http.routers.seafhttp.rule=Host(``) && PathPrefix(`/seafhttp`)"
  - "traefik.http.routers.seafhttp.entrypoints=websecure"
  - "traefik.http.routers.seafhttp.tls.certresolver=myresolver"

The problem is that I don’t seem to be able to configure collabora to work on a path(outside of “/”). It works fine when assigned root location but assigning a path and changing OFFICE_WEB_APP_BASE_URL in doesn’t seem to have any effect. 404 is shown in a new tab, after clicking ods file for example.

I found no errors in the logs or network traffic looked up in developer tools.

How do I troubleshoot this further?

Does the above work for you otherwise? I have been wanting to jump ship from Nginx to Traefik for sometime and haven’t attempting it for awhile and have been meaning to pick that back up again. What’s your thoughts on the process so far? Obviously sans this issue. :slight_smile:

Well, editing configuration on per-container basis via labels is pretty good. Much better than raw nginx files. After you figure out the first few containers it’s pretty much copy-paste.
I encourage you to simply install docker-compose and try it!

I’ll do it again; I had always seemed to get past the easy part of the setting up it l. I’d just resistant due to not seeing a migration path; it was all in and get er done.
Thanks for the inspiration,

  • A