local doc link to email domain issue

Issues during installation and related to database
Post Reply
cksoft
Posts: 7
Joined: Sat Mar 25, 2017 2:54 pm

local doc link to email domain issue

Post by cksoft » Mon Jan 01, 2018 4:21 pm

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

cksoft
Posts: 7
Joined: Sat Mar 25, 2017 2:54 pm

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

Post by cksoft » Mon Jan 01, 2018 10:53 pm

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

Maxim
Posts: 1750
Joined: Tue Oct 11, 2016 2:34 pm

Re: local doc link to email domain issue

Post by Maxim » Tue Jan 02, 2018 7:36 am

Hello cksoft!
It's great that you have found a solution!
Happy new year!

Post Reply