Page 1 of 1

local doc link to email domain issue

PostPosted: Mon Jan 01, 2018 4:21 pm
by cksoft
Hi all,

When i'm trying to sent an email with attachement (just the link of local doc) my domain is not the good for the link, so :

i have : http://onlyoffice/products/files/doceditor.aspx?

instead of

https://my.domaine.com/products/etc.....

there is a solution to change that ?

i'm using onlyoffice / Linux (not docker) Version 9.5.3.549 with debian 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1

[SOLVED] Re: local doc link to email domain issue

PostPosted: Mon Jan 01, 2018 10:53 pm
by cksoft
finaly i reply to myself thanks to user and post in this forum :)

see here
viewtopic.php?f=37&t=6351

My solution :

replace in this file (nginx conf) /etc/nginx/includes -> onlyoffice-communityserver-common.conf

Code: Select all
set $X_REWRITER_URL $scheme://$http_host;


by your domain :

Code: Select all
set $X_REWRITER_URL https://your.domain.com;


save and reload nginx (nginx -s reload)

and it's done.

Bye and happy new year to all

Re: local doc link to email domain issue

PostPosted: Tue Jan 02, 2018 7:36 am
by Maxim
Hello cksoft!
It's great that you have found a solution!
Happy new year!