I found the following gist really useful when attempting to add this module to nginx in docker:
https://gist.github.com/muuvmuuv/f1a0e7b6a6a02c2253dc92350eab7607
It's not for this module per se but it taught me what I needed to know. Leaving it here in case anyone else finds it useful (also it would be great to get this added to the docs <3)