Scoped S3 hosting to production mode only.