Page 1 of 1

Onlyoffice behind haproxy HTTPS

PostPosted: Tue Dec 13, 2016 10:17 am
by fred80
Hi

We have installed onlyoffice docker version behind an https haproxy to access onlyoffice with https://doc.domain.fr.

We encountered several issues when we want to download or print the document.

The link sends by onlyoffice internal machine, sends pages in http and not in https (mixed content, blocked by the navigator)

Chargement du contenu mixte non actif « http://doc.domain.fr/skins/default/imag ... eneral.png » (non sécurisé) sur une page sécurisée[En savoir plus] app.js:8:0
L'utilisation de « getPreventDefault() » est obsolète. Utiliser « defaultPrevented » à la place. app.js:8:0
Blocage du chargement du contenu mixte actif (mixed active content) « http://doc.domain.fr/ResourceService.as ... 112016.pdf »[En savoir plus] sdk-all.js:5:0
: sdk-all.js:5:0
Opening transport: websocket url:https://doc.domain.fr/spellchecker/doc/D340ttMyZ8IpXDRxrQw_/c/466/tksyh11n RTO:573 sockjs.min.js:27:2975
Opening transport: websocket url:https://doc.domain.fr/coauthoring/doc/D340ttMyZ8IpXDRxrQw_/c/585/fsd5tyvb RTO:229 sockjs.min.js:27:2975


The haproxy conf :

backend onlyoffice
balance roundrobin
mode http
#option httpclose
#http-request set-header X-Forwarded-Proto https if { ssl_fc }
http-request set-header X-Forwarded-Proto https
http-request set-header Forwarded proto=https
http-request set-header Host %[req.hdr(Host)]
http-request set-header X-Forwarded-Host %[req.hdr(Host)]
http-request set-header X-Forwarded-Server %[req.hdr(Host)]
server onlyoffice1 1.2.3.4


We have installed an enterprise version of onlyoffice and we have the same type of problem, and we can not editing documents (documentServer don't load)

Thanks

Re: Onlyoffice behind haproxy HTTPS

PostPosted: Wed Dec 14, 2016 3:52 pm
by John
Hello!
We need access to your server to analyze the environment more deeply.
Please contact us at support.onlyoffice.com. Send your login and password for Onlyoffice and login and password for SSH of your server. Point the subject as 'Onlyoffice behind haproxy HTTPS'.
Thank you for the interest in our product.