Try the fastest and simplest way to install ONLYOFFICE

Onlyoffice behind haproxy HTTPS

IIS, Apache

Onlyoffice behind haproxy HTTPS

Postby fred80 » Tue Dec 13, 2016 10:17 am


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)

Posts: 9
Joined: Thu Nov 17, 2016 8:58 am

Re: Onlyoffice behind haproxy HTTPS

Postby John » Wed Dec 14, 2016 3:52 pm

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.
Posts: 15
Joined: Wed Oct 26, 2016 1:40 pm

Return to Web server configuration

Who is online

Users browsing this forum: No registered users and 1 guest