Config Object

Default Config

Full JSON Config Object Defaults

{  
   "AllowAnimatedGifs": false,
   "allowDynamicOrigin":true,
   "allowOriginalImageRequest":true,
   "applicationWorkers":{  
      "autoConfig":true,
      "process":10,
      "fetch":10,
      "queue":0,
      "layer":5
   },
   "awsAuthorization":{  
      "enable":false,
      "bucket":"",
      "key":"",
      "secret":"",
      "region":"",
      "pathPrefix":"",
      "endpoint":""
   },
   "backend":"http:\/\/s3.amazonaws.com",
   "backendTimeout":15,
   "backendConnectTimeout":3,
   "backendSslVersion":"CURL_SSLVERSION_DEFAULT",
   "bucketsAllowed":[  

   ],
   "cache":"memory",
   "cacheControl":{  
      "override":false,
      "browserCacheTtl":1800,
      "serverCacheTtl":2678400
   },
   "cluster":{  
      "enable":false,
      "hashBalanceFactor":125,
      "includeQueryStringInHash":true,
      "awsAutoScaleSync":false,
      "nodes":[  

      ]
   },
   "consul":{  
      "endpoint":"",
      "method":"PUT",
      "payload":null
   },
   "customHeaders":[  

   ],
   "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":15,
      "backendConnectTimeout":3,
      "fallbackErrorCodes":[  
         404,
         403
      ]
   },
   "faceDetectionWidth":600,
   "hostsAllowed":[  

   ],
   "ignoreCertWarnings":false,
   "ignoreFormats":[  

   ],
   "imageParamsAllowed":[  

   ],
   "libjpeg":0,
   "logging":{  
      "enable":false,
      "appLogLevel":"info",
      "cloudWatch":{  
         "enable":false,
         "region":"us-east-1",
         "key":"",
         "secret":""
      },
      "dataDog":{  
         "enable":false,
         "key":"",
         "namespace":"imagizer",
         "tags":[  

         ]
      },
      "legacy":false,
      "services":[  
         "imagizer_access",
         "imagizer_access_err",
         "imagizer_app",
         "imagizer_system"
      ],
      "syslog":{  
         "enable":false,
         "server":"",
         "port":514,
         "facility":"local7",
         "protocol":"udp"
      },
      "trustedProxies":[  

      ]
   },
   "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
   }
}