cloudflare / cloudflare/ngx_brotli_module

if enabled brotli - broken standart nginx module

Open
#13 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
116
Forks
12
PR merge metrics
No merged PRs in 30d

Description

hello,

if enabled bortli comression and site accessed via https - nginx module http_addition_module stop working on https/ssl site, if use http - works.

brotli config:

brotli on;
brotli_comp_level 11;

addition module config:
ssl on;
....
add_after_body /footer.html;
location /footer.html { root /home/mirrors/mirror; }

footer not added if accessed by https, if http same config - all works proper.

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported configuration with brotli enabled over HTTPS and HTTP, including http_addition_module, add_after_body, and the /footer.html location. Compare the response behavior between protocols and inspect the interaction between the Brotli and NGINX addition modules; done means the footer is added consistently over HTTPS as it is over HTTP.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, nginx
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.