I doubt that will work with our custom built NGINX in the image.
Simplest thing to do now would be a PR to add the module here: discourse_docker/image/base/install-nginx at master · discourse/discourse_docker · GitHub
Then it will be picked up next image.