Open dilyanpalauzov opened 4 years ago
gzip & gzip_static modules are the part of nginx itself (https://github.com/nginx/nginx/tree/master/src/http/modules)
Unfortunately, even adding brotli_static wasn't warmly welcomed (though, it would be the best to have a single "*_static" module that understands both brotli and gzip).
See also https://trac.nginx.org/nginx/ticket/1961.
Unfortunately, even adding brotli_static wasn't warmly welcomed (though, it would be the best to have a single "*_static" module that understands both brotli and gzip).
Why is that? It's just one directive...
Considering that each self-respecting webserver offers both brotli and gzip at the same time, change the defaults of brotli_static to the value set in gzip_static and the the default value of brotli_types to the value set in gzip_types.
Possibly convince the developers of the gzip and gzip_static modules to export that values.