Page 1 of 1

Onlyoffice behind haproxy HTTPS

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

We have installed onlyoffice docker version behind an https haproxy to access onlyoffice with

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 « ... 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) « ... 112016.pdf »[En savoir plus] sdk-all.js:5:0
: sdk-all.js:5:0
Opening transport: websocket url: RTO:573 sockjs.min.js:27:2975
Opening transport: websocket url: 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

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)


Re: Onlyoffice behind haproxy HTTPS

PostPosted: Wed Dec 14, 2016 3:52 pm
by John
We need access to your server to analyze the environment more deeply.
Please contact us at 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.