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>
pull/248/head
Bernhard Kau 4 years ago committed by GitHub
parent bbb572a668
commit 89e847b62f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save