Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Server Integration Edition behind HAProxy and SSL Certificates #74

Open
slater0013 opened this issue Apr 5, 2019 · 1 comment

Comments

@slater0013
Copy link

Bug or Config Issue ?

I've installed Document Server Integration Edition on Debian. I plan to configure a cluster of 2 Document Servers with HAProxy in front like described here : https://helpcenter.onlyoffice.com/fr/server/developer-edition/linux/install-cluster.aspx

In HTTP, everything works fine. But I want to connect Document Server to my NextCloud instance which is runnning in HTTPS.

I configured HAProxy as an SSL Termination, with correct certificates. The communication between HAProxy and OnlyOffice Document Server can stay on http/80 but the Nginx engine on Document Server is forcing fall back to HTTP protocol.

Possibles workarounds would be to let SSL traffic flow through HAProxy to the Document Servers configured in SSL mode, or to decrypt SSL in HAProxy and crypt again communications between HAProxy and Document Servers.

But in my configuration, I use the same HAProxy for Nextcloud and OnlyOffice, and Nextcloud is configurable to let the http mode to HTTPS even if communication between HAProxy and PHP Instances stays in clear HTTP.

Hope I make myself clear !
Regards,
GS

DocumentServer version: 5.2.8-24

Operating System: Debian 9

Browser version: Not Relevant here.

@t0rtila t0rtila transferred this issue from ONLYOFFICE/DocumentServer Apr 17, 2019
@alexanderonlyoffice
Copy link

alexanderonlyoffice commented Dec 27, 2019

@slater0013, please check our examples of the configuration files for HAproxy under this link. Please let us know if some of the examples helps you to solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants