Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use as default for brotli_types the values from gzip_types #101

Open
dilyanpalauzov opened this issue Apr 22, 2020 · 3 comments
Open

Use as default for brotli_types the values from gzip_types #101

dilyanpalauzov opened this issue Apr 22, 2020 · 3 comments

Comments

@dilyanpalauzov
Copy link

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.

@eustas
Copy link
Collaborator

eustas commented Apr 23, 2020

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).

@dilyanpalauzov
Copy link
Author

@Jas0n99
Copy link

Jas0n99 commented Apr 23, 2020

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants