kjdev/apache-mod-brotli

Exclude some paths from brotli

Closed this issue · 1 comments

Hi. I'm sorry to put this in here, because it's more of a support/documentation request than a bug.

But the situation is that I'd really like to use mod_brotli for most of my site -- it really speeds things up for most things. But it badly breaks Nextcloud. Is there a straightforward configuration directive I can use, either in Nextcloud's .htaccess, or in my main httpd.conf, that will exclude https://mydomain/nextcloud/ from using brotli?

Never mind, read the source, the following seems to work:

<Location /nextcloud>
    SetEnv no-brotli
</Location>