subdir_disabled.tpl.php 399 Bytes
Newer Older
1 2 3 4 5 6 7
<?php
$satellite_mode = drush_get_option('satellite_mode');
if (!$satellite_mode && $server->satellite_mode) {
  $satellite_mode = $server->satellite_mode;
}
?>

8
location ^~ /<?php print $subdir; ?>/ {
9 10 11 12
<?php if ($satellite_mode == 'boa'): ?>
  root   /var/www/nginx-default;
  index  index.html index.htm;
<?php else: ?>
omega8cc's avatar
omega8cc committed
13
  return 404;
14
<?php endif; ?>
15
  ### Do not reveal Aegir front-end URL here.
16
}