mirror of
				https://github.com/mashirozx/docker-php-nginx.git
				synced 2025-05-29 01:49:24 +08:00 
			
		
		
		
	Include other files in nginx/conf.d to allow for customization
This commit is contained in:
		
							parent
							
								
									373c03da2f
								
							
						
					
					
						commit
						348b050138
					
				@ -10,6 +10,7 @@ http {
 | 
			
		||||
    include mime.types;
 | 
			
		||||
    default_type application/octet-stream;
 | 
			
		||||
 | 
			
		||||
    # Define custom log format to include reponse times
 | 
			
		||||
    log_format main_timed '$remote_addr - $remote_user [$time_local] "$request" '
 | 
			
		||||
                          '$status $body_bytes_sent "$http_referer" '
 | 
			
		||||
                          '"$http_user_agent" "$http_x_forwarded_for" '
 | 
			
		||||
@ -81,4 +82,7 @@ http {
 | 
			
		||||
            fastcgi_pass 127.0.0.1:9000;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    # Include other server configs
 | 
			
		||||
    include /etc/nginx/conf.d/*.conf;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user