Load modules-enabled/* in main conf (#244)

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>

Co-authored-by: Bernhard Kau <bernhard@kau-boys.de>
Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
This commit is contained in:
Bernhard Kau 2021-03-29 17:21:10 +02:00 committed by GitHub
parent bbb572a668
commit 89e847b62f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = [];