Skip to content

Instantly share code, notes, and snippets.

@thelebster
Created March 21, 2015 17:03
Show Gist options
  • Select an option

  • Save thelebster/07d3cd816136ed058f73 to your computer and use it in GitHub Desktop.

Select an option

Save thelebster/07d3cd816136ed058f73 to your computer and use it in GitHub Desktop.
Example of config.xml for File Conveyor daemon #cimpleodev #drupal #aws
<?xml version="1.0" encoding="UTF-8"?>
<config>
<!-- Sources -->
<sources ignoredDirs="CVS:.svn:.swp:.git:tmp:.DS_Store">
<source name="drupal" scanPath="/var/www/htdocs" documentRoot="/var/www/htdocs" basePath="/" />
</sources>
<!-- Servers -->
<servers>
<server name="cloudfront" transporter="cf">
<access_key_id>************</access_key_id>
<secret_access_key>************</secret_access_key>
<bucket_name>************</bucket_name>
<distro_domain_name>************.cloudfront.net</distro_domain_name>
</server>
</servers>
<!-- Rules -->
<rules>
<rule for="drupal" label="CSS and JS">
<filter>
<paths>sites/default/files/css:sites/default/files/js</paths>
<extensions>js:css</extensions>
</filter>
<processorChain>
</processorChain>
<destinations>
<destination server="cloudfront" path="" />
</destinations>
</rule>
</rules>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment