webdevops / Dockerfile

:package: Dockerfiles from WebDevOps for PHP, Apache and Nginx
https://webdevops.io/projects/dockerfiles/
MIT License
1.66k stars 492 forks source link

Enable 3rd Party Nginx Module #461

Open tamodaleko opened 1 year ago

tamodaleko commented 1 year ago

Is it possible to allow 3rd party nginx modules to be loaded? Specifically, brotli compression - google/ngx_brotli

Romich777 commented 1 year ago

@tamodaleko You can try to install nginx from sury repo in your Dockerfile - https://packages.sury.org/nginx/ or https://launchpad.net/~ondrej/+archive/ubuntu/nginx, as workaround