Skip to content
Snippets Groups Projects
Commit 8cb1b3c9 authored by jurgenhaas's avatar jurgenhaas
Browse files

Start capturiong building blocks for multi owncloud setup

parent edb85ac7
No related branches found
No related tags found
No related merge requests found
<?php
if (empty($argv[1])) {
echo "Missing parameter";
exit;
}
include $argv[1] . '.php';
chdir('/var/www/owncloud');
include 'cron.php';
<?php
define('PHPUNIT_CONFIG_DIR', '/config/{{ owncloud_shortname }}/');
<VirtualHost *:80>
ServerAdmin {{apache_server_admin}}
ServerName {{owncloud_domain}}
php_value auto_prepend_file "/var/www/owncloud/config/{{owncloud_shortname}}.php"
DocumentRoot /var/www/owncloud
......@@ -23,6 +24,7 @@
<VirtualHost *:443>
ServerAdmin {{apache_server_admin}}
ServerName {{owncloud_domain}}
php_value auto_prepend_file "/var/www/owncloud/config/{{owncloud_shortname}}.php"
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
DocumentRoot /var/www/owncloud
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment