Closed python273 closed 3 years ago
I'm using nginx-solo-sample.conf.erb with gzip_types application/json application/javascript text/css; added under gzip on;
gzip_types application/json application/javascript text/css;
gzip on;
$ curl -H "Accept-Encoding: gzip" -I https://mysterious-bayou-61009.herokuapp.com/hello.js HTTP/1.1 200 OK Connection: keep-alive Server: nginx Date: Sun, 27 Jun 2021 18:24:43 GMT Content-Type: application/javascript Content-Length: 3145731 Last-Modified: Sun, 27 Jun 2021 18:19:59 GMT Etag: "60d8c14f-300003" Accept-Ranges: bytes Via: 1.1 vegur
I'm using nginx-solo-sample.conf.erb with
gzip_types application/json application/javascript text/css;
added undergzip on;