First i want to say amazing work on the OnlyOffice. Keep it up!
Also excuse me if i ask or say something stupid, i might not be as advanced as some of you

and now my issue, that i have tried to solve for days, i have read countless articles from this forum and others and i cant solve it, regardless of what i try.
Current state (everything is running on the same pc):
domain.tk - runing on ubuntu server
cloud.domain.tk - is nextcloud 12.0.3
localhost:1443 - onlyoffice docker image server, (localhsot = 192.168......)
i have put self-signed certificates for all 3 of them. (domain.tk and localhost:1443 have the same one, cloud has different. everything runs on https)
For the setups i have used the guides given in this forum for the installation and integration of onlyoffice.
i mount the image of docker with:
- Code: Select all
sudo docker run -i -t -d -p 1443:443 --restart=always --name office \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \ onlyoffice/documentserver
accessing https:// localhost:1443 opens the welcome page of the onlyoffice server sayign everything is ok.
using https:// localhost:1443 for the Document Editing Service address in onlyoffice admin page in nextcloud works.
=> everything works fine while im in my home network (except saving the opened docs back to the cloud)
Now comes my issue and probably incompetence:
In order to access the onlyoffice server from outside my home network (example: opening and editing word file while at work) i read i have to do a reverse proxy - no matter what i do or VH i create - office.domain.tk always returns domain.tk and not the onlyoffice server page (maybe i need help here).
So i thought of smth else - I did a portforward in my router of port 1443 to my server (localhost), thus localhost:1443 = domain.tk:1443 and became accessible from outside the home network loading the onlyoffice server page "Document Server is running", just as it is supposed to.
Now when i put https:// domain.tk:1443 instead of https:// localhost:1443 in the admin page of onlyoffice in nextcloud it gives me the usual "ONLYOFFICE cannot be reached. Please contact admin" when i open a document - why is that? what is the difference?
Anyone who has any suggestion would be greatly appreciated and if I am doing it the wrong way, please help me out.
Please let me know what other info you need about my set up, i can provide anything.
Thank you in advance
EDIT:
Thanks to http://dev.onlyoffice.org/viewtopic.php?f=53&t=10449 and the VH configuration posted there yesterday i managed to finally make subdomain of https://localhost:1443 (onlyoffice document server), making it office.domain.tk. Also i created separate self signed certificate for the domain and each sumdomain.
Unfortunetly, when i use that in the admin panel in of onlyoffice in nextcloud the server still gives error "ONLYOFFICE cannot be reached. Please contact admin".
What am I missing?