GithubHelp home page GithubHelp logo

agiza / hosting_cdn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omega8cc/hosting_cdn

0.0 2.0 0.0 114 KB

Forked from http://drupal.org/project/provision_cdn

Home Page: http://drupal.org/project/provision_cdn

hosting_cdn's Introduction

Aegir CDN support

Introduction

This is a simple module and drush script for Aegir that allows you to enable 'fake' CDN support per site in Aegir.

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. http://aegirproject.org/

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.

NOTE: 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 configured to serve your site's static content. Use in conjunction with the Drupal CDN module for full effect (http://drupal.org/project/cdn).

Caveats

Currently not quite functional! Currently only works with Nginx.

hosting_cdn's People

Contributors

omega8cc avatar

Watchers

James Cloos avatar Anthony Giza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.