-
Notifications
You must be signed in to change notification settings - Fork 126
Advanced CDN Configuration
Tim Fischbach edited this page Jul 3, 2015
·
5 revisions
In the Pageflow initializer add change the zencoder_options
hash to include the sftp_host
setting:
config.zencoder_options.merge!(
# other zencoder options
sftp_host: "sftp://pageflow:[email protected]/path"
end
After restarting the resque workers, Pageflow will tell Zencoder to copy the output files to the specified location IN ADDITION to pushing them to S3. Changing the s3_alias_host_alias
setting, you can deliver encoded files directly from your server. You can also configure CDNs to use your own server as origin instead of S3.
Note that, at the moment, there is no way to disable file output to S3 completeley.