Docker-nginx: About third-party modules

Created on 27 Apr 2020  ·  8Comments  ·  Source: nginxinc/docker-nginx

Is there any documentation here that tells me how to install third-party modules

Most helpful comment

It would be great to add tools for configure and install like here
https://github.com/docker-library/docs/tree/master/php#how-to-install-more-php-extensions

All 8 comments

I also want to know it!

It would be great to add tools for configure and install like here
https://github.com/docker-library/docs/tree/master/php#how-to-install-more-php-extensions

确实应该搞一个可以添加第三方模块的工具

I would love to add the rtmp module...

同问

i just had this issue, my stupid workaround was to apt install nginx-full - which downgraded the nginx in the container but gave me the following modules via /include /etc/nginx/modules-enabled/*.conf;:

ngx_http_auth_pam_module.so                                                                                                                      
ngx_http_dav_ext_module.so                                                                                                                       
ngx_http_echo_module.so                                                                                                                          
ngx_http_geoip_module.so                                                                                                                         
ngx_http_image_filter_module.so                                                                                                                  
ngx_http_subs_filter_module.so                                                                                                                   
ngx_http_upstream_fair_module.so                                                                                                                 
ngx_http_xslt_filter_module.so                                                                                                                   
ngx_mail_module.so                                                                                                                               
 ngx_stream_module.so  

@nmaas87 after doing that you could then use apt install libnginx-mod-rtmp to get what you want (alternately assuming you are on the debian derived container you could use nginx-common or nginx-lite etc as you see fit.

What would be better IMO is if they just produced tags equivalent to these
https://github.com/nginxinc/docker-nginx/issues/451

In the mean time for me to make my own container from scratch I think.

Hi. I've added a way to make it easier to add modules on top of the official image, please check https://github.com/nginxinc/docker-nginx/tree/master/modules for more information.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lucacome picture lucacome  ·  3Comments

a-shink picture a-shink  ·  3Comments

nightlyone picture nightlyone  ·  4Comments

gengu picture gengu  ·  6Comments

hasancansaral picture hasancansaral  ·  6Comments