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
Aegir on Debian/jessie x86_64 | |
VPS unknown / not a virtual machine | |
CPU 8 | |
RAM 15771 | |
XTR _XTRAS_LIST="ADM CSF FTP" | |
MFX _MODULES_FIX=YES | |
PFX _PERMISSIONS_FIX=YES | |
DBS _DB_SERIES=10.1 | |
DNS _DNS_SETUP_TEST=YES | |
PKG _EXTRA_PACKAGES= |
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
Aegir on Debian/jessie x86_64 | |
VPS Linux KVM guest | |
CPU 6 | |
RAM 12012 | |
XTR _XTRAS_LIST="ADM CSF FTP CGP SR4 CSS" | |
MFX _MODULES_FIX=YES | |
PFX _PERMISSIONS_FIX=NO | |
DBS _DB_SERIES=10.1 | |
DNS _DNS_SETUP_TEST=YES | |
PKG _EXTRA_PACKAGES= |
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 # local settings.php | |
$request_type = ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') ? 'SSL' : 'NONSSL'; | |
if ($request_type != "SSL" && isset($_SERVER['HTTP_USER_AGENT']) && !preg_match('<ignore_url>',$_SERVER['REQUEST_URI'])){ | |
header('X-Accel-Expires: 1'); | |
header("HTTP/1.1 301 Moved Permanently"); | |
header("Location: https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); | |
header("Connection: close"); | |
exit; | |
} |
NewerOlder