mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 04:24:12 +00: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:
parent
bbb572a668
commit
89e847b62f
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue