Nginx modules must be selected during compile.
Runtime selection of modules is not supported by Nginx.