This project is not covered by Drupal’s security advisory policy.

Introduction

This is a simple module and drush script for that allows you to enable CDN support per site in Aegir. It takes care of setting up a new virtual host that is configured to serve your site's static files over one or more additional domains, eg. css.example.com, js.example.com, cdn.example.com. Use in conjunction with the Drupal CDN module for full effect.

It is specifically aimed towards the Ægir project and therefore depends on the provision backend and expects the Aegir environment to be functional. If you don't know what Aegir is, you'll probably want to start there and come back when you really know that you want to use this code.

Installation

There are two parts to the code: - A Drupal module for hostmaster - contained in the /hosting directory. Install this like any other Drupal module into you hostmaster site. - A provision Drush extension - contained in the /provision directory. Copy this into /var/aegir/.drush on your Aegir master server. Now just enable the module in the Aegir frontend, and you're ready to go.

Requirements

This was built on a Barracuda system, so requires Provision 6.x-2.x

Usage

When creating or editing a site, you can optionally add one or more cdn domains Leaving this blank will do nothing, but if they are filled in then those domains will be created to serve only your site's static content.

Caveats

Currently only works with Nginx (No Apache support).

Development

This module is being developed by Tom Kirkpatrick (mrfelton) of SystemSeed.

Project information

  • Module categories: Performance
  • Created by mrfelton on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases