mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-28 19:17:16 +08:00
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:
@@ -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 = [];
|
||||
|
||||
|
Reference in New Issue
Block a user