Config Object

Default Config

Full JSON Config Object Defaults

{  
   "allowDynamicOrigin":true,
   "allowOriginalImageRequest":true,
   "applicationWorkers":{  
      "autoConfig":true,
      "process":420,
      "fetch":240
   },
   "awsAuthorization":{  
      "enable":false,
      "bucket":"",
      "key":"",
      "secret":"",
      "region":"",
      "pathPrefix":"",
      "endpoint":""
   },
   "backend":"http://s3.amazonaws.com",
   "backendTimeout":30,
   "backendConnectTimeout":3,
   "backendSslVersion":"CURL_SSLVERSION_DEFAULT",
   "bucketsAllowed":[],
   "cache":"memory",
   "cacheControl":{  
      "override":false,
      "browserCacheTtl":1800,
      "serverCacheTtl":2678400
   },
   "consul":{  
      "endpoint":"",
      "method":"PUT",
      "payload":null
   },
   "cluster":{  
      "enable":false,
      "hashBalanceFactor":125,
      "includeQueryStringInHash":true,
      "awsAutoScaleSync":false,
      "nodes":[]
   },
   "defaultImages":{  
      "missing":"",
      "error":"",
      "shouldProcess":false,
      "return200Response":true
   },
   "defaultImageParams":[],
   "defaultMobileImageParams":[],
   "displayWelcomePage":true,
   "enablePostToProcess":false,
   "fallbackBackend":{  
      "enable":false,
      "backend":"",
      "awsAuthorization":{  
         "enable":false,
         "bucket":"",
         "key":"",
         "secret":"",
         "region":"",
         "pathPrefix":"",
         "endpoint":""
      },
      "backendTimeout":30,
      "backendConnectTimeout":3,
      "fallbackErrorCodes":[  
         404,
         403
      ]
   },
   "faceDetectionWidth":600,
   "hostsAllowed":[],
   "ignoreCertWarnings":false,
   "ignoreFormats":[],
   "imageParamsAllowed":[],
   "libjpeg":0,
   "logging":{  
      "enable":true,
      "appLogLevel":"debug",
      "syslogFacility":"local7",
      "syslogServer":"",
      "syslogPort":514,
      "cloudWatch":{  
         "enable":false,
         "region":"us-east-1",
         "key":"",
         "secret":""
      },
      "dataDog":{  
         "enable":false,
         "key":"",
         "namespace":"imagizer",
         "tags":[]
      }
   },
   "maxImageDimensions":{  
      "enable":true,
      "width":5000,
      "height":5000
   },
   "passThroughHeaders":[],
   "stats":{  
      "ganglia":{  
         "enable":false,
         "host":"",
         "port":8649,
         "protocol":"udp"
      },
      "cloudWatch":{  
         "enable":false,
         "region":"us-east-1",
         "key":"",
         "secret":""
      },
      "dataDog":{  
         "enable":false,
         "key":"",
         "namespace":"imagizer",
         "tags":[]
      }
   },
   "secureWebProxy":{  
      "enable":false,
      "host":"",
      "port":0
   },
   "separateMobileCache":false,
   "separateWebpCache":true,
   "separateHostCache":false,
   "upscaleAllowed":false,
   "urlRewrites":[],
   "webProxy":{  
      "enable":false,
      "host":"",
      "port":0
   }
}