I have been trying hard to find a solution but in vain. In short, onlyoffice (docker) + nextcloud (docker) doesn’t work at a particular situation.
If I run onlyoffice docker image and forward external ports (say 1080/1443) to onlyoffice ports (80/443) under docker, and nextcloud point to 1080/1443 port, everything works.
However, if I do not forward external ports in docker, but using ngnix reverse proxy + virtualhost setting, something weird really happens.
Somehow, I am manage to visit https://nameofonlyoffice-virualhost/welcome, it works.
As nextcloud is relying on https://nameofonlyoffice-virualhost, nextcloud of course doesn’t work.
One thing worths noting, onlyoffice docker in fact has a layer of nginx sitting in front of onlyoffice document server locally in one container.
Anyone succeed such kind of configuration before and share your nginx virtualhost file with the community here ?
browser (433) <-> (8443) nginx-in-docker (80) <-> (80) nginx-AAA (80-localhost) <-> (80-localhost) onlyoffice-AAA
nginx-AAA and onlyoffice-AAA are running inside the same container.
Thanks a lot !