mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 04:24:12 +00:00
Set 'combined' as default log format when not using Cloudflare (#410)
* Fix the accessLogParamsDefault issue This fixes #409 * Fixed for cloudflare logformat Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
This commit is contained in:
parent
c026007a5d
commit
d9a77798b0
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ export const getDomainAccessLog = (domain, global) => {
|
|||
}
|
||||
|
||||
return path +
|
||||
(global.logging.cloudflare.computed ? ' cloudflare' : '') +
|
||||
(global.logging.cloudflare.computed ? ' cloudflare' : ' combined') +
|
||||
(domain.logging.accessLogParameters.computed.trim() ? ` ${domain.logging.accessLogParameters.computed.trim()}`: '');
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue