diff --git a/src/nginxconfig/generators/conf/nginx.conf.js b/src/nginxconfig/generators/conf/nginx.conf.js index c56b86e..6cb055a 100644 --- a/src/nginxconfig/generators/conf/nginx.conf.js +++ b/src/nginxconfig/generators/conf/nginx.conf.js @@ -47,6 +47,10 @@ export default (domains, global) => { worker_connections: 65535, }; + // Modules! + config['# Load modules'] = ''; + config.include = `${global.nginx.nginxConfigDirectory.computed.replace(/\/+$/, '')}/modules-enabled/*`; + // HTTP (kv so we can use the same key multiple times) config.http = [];