zstd-nginx-module icon indicating copy to clipboard operation
zstd-nginx-module copied to clipboard

How do I compile and load it as a dynamic module?

Open muuvmuuv opened this issue 4 years ago • 4 comments
trafficstars

I would like to use zstd as a dynamic module like brotli, so I can load so .so in my nginx.conf. Is that possible?

muuvmuuv avatar Jan 11 '21 11:01 muuvmuuv

@muuvmuuv Sure, PR's are welcome!

tokers avatar Jan 11 '21 14:01 tokers

Uhh, I have really no understanding of C nor NGINX config. But from what I see in the ngx_brotli repo it just requires to be split into folders and:

have=NGX_HTTP_GZIP . auto/have
have=NGX_HTTP_BROTLI_STATIC . auto/have

https://github.com/google/ngx_brotli

I would try it myself, but I have no idea how to setup this up on macOS or how to test it.

muuvmuuv avatar Jan 11 '21 14:01 muuvmuuv

this should now be possible

eilandert avatar Jan 26 '22 23:01 eilandert

how it would be possible ?

rthamrin avatar May 09 '22 11:05 rthamrin