Only enable gzip for HTML/CSS/JS
authorMicah Elizabeth Scott <micah@misc.name>
Thu, 23 Aug 2018 19:12:08 +0000 (12:12 -0700)
committerChocobozzz <me@florianbigard.com>
Fri, 24 Aug 2018 07:08:33 +0000 (09:08 +0200)
commita18e02f358581fe86d97a8768064e83eb6488074
tree90345212407bab6192aec1973d98df476f32fd67
parentb9ad99560546ff019a9a1e44c01a354c6fa291be
Only enable gzip for HTML/CSS/JS

No compression on JSON endpoints, in order to protect
from potential compression+encryption data leak attacks (like BREACH)
support/nginx/peertube