Skip to content

Conversation

HanadaLee
Copy link
Contributor

The related issue: #30

This pull request refers to the ngx_brotli module to avoid compression before ngx_http_sub_module takes effect.

…such as sub filter module

Module order is incorrect for compression module. For example, if using ngx_http_sub_module, string is not replaced because it it tries to replace content when it is already compressed.

For this purpose, you need to add module sorting in config to adjust the order in which modules take effect.
ngx_module_order doesn't work with static modules, so we must re-order filters.
@tokers tokers merged commit f4ba115 into tokers:master Apr 22, 2024
@tokers
Copy link
Owner

tokers commented Apr 22, 2024

@HanadaLee Thanks for the PR! Merged it.

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

Successfully merging this pull request may close these issues.

2 participants