lucaslorentz / caddy-docker-proxy

Caddy as a reverse proxy for Docker
MIT License
3.07k stars 174 forks source link

How to enable brotli module #553

Closed sowinski closed 1 year ago

sowinski commented 1 year ago

Hi,

how can I enable brotli plugin with caddy-docker-proxy?

Is this currently not supported?

francislavoie commented 1 year ago

You can build a custom image with extra plugins you need: https://github.com/lucaslorentz/caddy-docker-proxy#custom-images

That said, I can't recommend using the brotli plugin, it's very, very slow. You can instead use the file_server directive which supports precompressed to serve .br files.