During the compilation process, Nginx modules must be selected as such runtime selection of modules is not supported by Nginx.