mirror of
				https://github.com/digitalocean/nginxconfig.io.git
				synced 2025-11-04 18:28:17 +08: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:
		@@ -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()}`: '');
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user