Commit 69f78a7d authored by anarcat's avatar anarcat Committed by anarcat

#537004 - add SSLEngine directive to hosts on port 443

parent 1ae53cb0
<?php
/**
* @file
*
* Drush hooks and commands for SSL stuff in the Aegir backend
*/
function provision_ssl_provision_apache_vhost_config($url, $options) {
drush_log("somewhere in provision_ssl, yay");
if ($options['site_port'] == 443 || TRUE) {
return array("php_value session.cookie_secure 1", "SSLEngine On");
} else {
return NULL;
}
}
name = Provision: SSL
description = Provides SSL support for the Apache webserver
package = Provision
dependencies[] = provision_apache
core = 6.x
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment