I set-up few days little complicated installation of onlyoffice on private intranet connected to separated internet servers over apache proxy (load balancer) with VPN. Everything work ok. I have last issue with emails notifications send to users with have urls links point to balance member server over local ip address so users cannot access it after click on it. I found that all email templates are in ResourcePatterns etc. but is the a way to overwrite variables: $__VirtualRootPath to set my proxy url cause it seams like $__VirtualRootPath is taken automatically from some Gloabal Variables.
Let me little more explain my configuration maybe then You will be able help me.
So we have 2 domains (one for document-server and second for community-server) it looks like that:
cloud.domain.com |public IP| with is server visible on internet -> apache proxy with load balancer pointing to c1.domain.com (and c2.domains.com but both use same VPN IP's with correct port) like c1.domain.com:8080 with is a server not visible on internet Same situation for document server.
So email as also in some places in onlyoffice UI installation show c1.domain.com:8080 insetad of cloud.domain.com what is wrong cause from internet nobody is able access VPN IP only the main server with is connected to VPN network.
We use LInux installation (no Docker). It was not easy set-up it with that configuration but basically we make it almost without problems. The only thing with we change is socket for monoserver in DocService.conf and nginx to /socket=tcp:10.0.0.123:9000 where 10.0.0.123 is a VPN IP cause with standard setting we always get connection refuse.
I'm Sys-Admin and Programmer but I never have occasion work with monoserver and ASPx on Linux.