Skip to content

brotli_static and zstd_static Wrong Module order #40

Description

@mklooss

i am currently struggle to get "zstd_static on" and "brotli_static on", because Webkit does not Support zstd.

zstd_filter works as expected

Build:

./configure --add-module=zstd-nginx-module-master --add-module=ngx_brotli-master

Result:

$ curl -v -k -H 'Accept-Encoding: gzip, deflate, br, zstd' https://172.17.0.2/test.css
> GET /test.css HTTP/1.1
> Host: 172.17.0.2
> User-Agent: curl/8.5.0
> Accept: */*
> Accept-Encoding: gzip, deflate, br, zstd
> 
< HTTP/1.1 200 OK
< Server: nginx/1.26.2
< Date: Wed, 20 Nov 2024 20:15:21 GMT
< Content-Type: text/css
< Content-Length: 30
< Last-Modified: Wed, 20 Nov 2024 19:33:50 GMT
< Connection: keep-alive
< Vary: Accept-Encoding
< ETag: "673e399e-1e"
< Content-Encoding: br

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions