Onlyoffice With Cloudflare proxy

Hello
I have a problem, i was having problem with my own firewall so i decided to migrate to cloud flare WAf+nginx proxy+fail2ban but i got a problem when i active proxy on cloudflare the conection betwen nextcloud and onlyoffice returns an error:

ClientException
Client error: GET https://only.mydomain.com/healthcheck resulted in a 403 Forbidden response: Just a moment…<meta http-equiv=“Content-Type” content="text/htm (truncated…)

And i found when i turn off proxy for both the domains only.mydomain.com and next.mydomain.com it works as it should.

I searched on here and couldnot find anything that i had to doo to bypass the error could anyone point me to the right direction?

Hi @Alisson95 :wave:

It seems that the issue you’re encountering might be related to the configuration of your firewall and proxy settings

One potential solution could be to adjust the proxy settings or firewall rules to allow the necessary connections between the domains.

It might be worth starting with this article: “Using ONLYOFFICE Docs behind the proxy.

At the moment, it seems more like an issue related to network rules rather than the editor itself.