Skip to content

Instantly share code, notes, and snippets.

@ptudor
ptudor / 10-mod_deflate_proxy.conf
Last active December 5, 2022 16:24
two ways to use brotli compression in Apache
# Quick hints for using brotli compression in Apache, available since 2.4.26
#
# method one is for inline proxies with AddOutputFilterByType.
# method two is for static local files with FilesMatch/SetOutputFilter
#
# ptudor 2019
#############################
# /etc/httpd/conf.d/10-mod_deflate_proxy.conf
<If "%{HTTP:Accept-Encoding} =~ /br/">

Keybase proof

I hereby claim:

  • I am ptudor on github.
  • I am ptudor (https://keybase.io/ptudor) on keybase.
  • I have a public key whose fingerprint is 643E E23F 1A32 957A C241 EBBA 2C12 D022 F591 B853

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ptudor on github.
  • I am ptudor (https://keybase.io/ptudor) on keybase.
  • I have a public key whose fingerprint is 0E6C FF57 A233 721E 8D08 697F 713E 9462 3233 6E46

To claim this, I am signing this object: