I run Caddy as my reverse proxy. I find it generally easier to configure than NGINX. I've never tried Traefik. I'm having a hell of a time getting Collabora office working with my NextCloud instance (both via docker) though. Has anyone else successfully done this? I'm not sure if its because I haven't translated the config correctly from the NGINX example, or that it just doesn't work.
I would love to see somebody's config if they have it working.
Nextcloud section, may look different from yours I use the FPM image but it should be similar, enough. There are also some limitations on the urls based on local vs public access but that is an attempt at hardening rather than necessary configurations.
Thankyou! Nextcloud itself wàs never a problem, but the Collabora stuff would just not work properly with any config I tried. I'm going to make another attempt with these settings as soon as I get the chance.
Hrm...I must have had something else wrong because I'm experiencing the same thing. I try to load a document that I created with the menu and it seems to time out. I thought that it was because of my Caddy config, but perhaps it wasn't.
I only get:
Document loading failed
Failed to load Nextcloud Office - please try again later
I have 2 other variables set: domain and aliasgroup1. Is domain supposed to refer to the Collabora domain or the NextCloud domain? I actually can't remember where I got the aliasgroup1 from, but it was probably during my googling to try and get things working. I remember reading that the '.' characters had to be escaped because those lines were used in a reflex.