-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding custom modules is not successful #911
Comments
docker build --build-arg ENABLED_MODULES="cachepurge" -t my-nginx-with-cachepurge:v3 . This is the command I built |
Hi @yjiangi ! The module will be built as a package separate to the main nginx binary? Check /etc/nginx/modules/ if it's there? |
It should be there if the image build had succeeded. Please provide the full log of a build, e.g.:
|
I think I know what the problem is, thanks for your guidance, through the --progress=plain parameter I found that I need to load the ngx_http_vhost_traffic_status_module.so module in /etc/nginx/nginx.conf, thanks |
I want to add nginx VTS module nginx mirror, this is what I use dockerfile address: https://raw.githubusercontent.com/nginxinc/docker-nginx/master/modules/Dockerfile, but I finished building After completion, I found that there was no module I wanted
The text was updated successfully, but these errors were encountered: