Created
October 17, 2014 20:29
-
-
Save cdracars/90596daa0c6066756b2b to your computer and use it in GitHub Desktop.
php5-fpm rules for Aegir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Implementation of hook_provision_apache_vhost_config() | |
*/ | |
function php5fpm_provision_apache_vhost_config($uri, $data) { | |
$plat = d()->root; | |
return "ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000" . $plat . "/$1"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place in a file called php5fpm.drush.inc located in /var/aegir/.drush/