lucaslorentz / caddy-docker-proxy

Caddy as a reverse proxy for Docker
MIT License
2.61k stars 163 forks source link

How to enable brotli module #553

Closed sowinski closed 7 months ago

sowinski commented 7 months ago

Hi,

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

Is this currently not supported?

francislavoie commented 7 months 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.