I have enabled gzip on server (nginx), when I test it with: curl -H "Accept-Encoding: gzip" -I domain.com/test.html - it works.
Grav has enabled gzip:
grep -ir gzip config/
config/system.yaml: gzip: false
config/system.yaml: allow_webserver_gzip: true
and when I test with curl, I'm getting:
curl -H "Accept-Encoding: gzip" -I --resolve 'some_domain.com:80:serverip' http://some_domain.com
HTTP/1.1 200 OK
Server: nginx/1.10.3
Date: Tue, 20 Feb 2018 19:16:22 GMT
Content-Type: text/html;charset=UTF-8
Content-Length: 19333
Connection: keep-alive
Set-Cookie: grav-site-...=...; expires=Tue, 20-Feb-2018 19:46:22 GMT; Max-Age=1800; path=/; domain=some_domain.com
Pragma: no-cache
Set-Cookie: grav-site-...=...; expires=Tue, 20-Feb-2018 19:46:22 GMT; Max-Age=1800; path=/; domain=some_domain.com; HttpOnly
Cache-Control: max-age=604800
Expires: Tue, 27 Feb 2018 19:16:22 GMT
Content-Encoding: identity
What am I missing?