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

Merge branch 'feature/Multi-OwnCloud-Setup' into develop

parents edb85ac7 0c71ab3b
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
......@@ -41,7 +43,7 @@
CustomLog ${APACHE_LOG_DIR}/ssl_access.log proxy env=forwarded
SSLEngine on
{% for cert in apache_certificates %}
{% for cert in apache_certificates.0 %}
{{cert.type}} /etc/ssl/private/{{cert.file}}
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment